Category: Microsoft SharePoint / Lync

SharePoint 2013 Contribution for Education

SharePoint 2013 provides lots of new features one of them is Solution for Educational institutions needs for a collaborative and educational environment.It Provides features such as .

  1. Academic documents, likely books, articles etc.
  2. Communities, a new grouping mechanism, ‘parent’ of courses.
  3. Courses, academic documents, assignments, and lessons.
  4. Assignments, including assigning assignments to individual students
  5. Events, possibly real-time lectures and assignment deadlines.
  6. Meetings, including recording of online meetings and meeting schedules
  7. Quizzes.

Today, here we will see the installation process for SharePoint 2013 for Education using SharePoint 2013 Enterprise RTM. While provisioning the SharePoint for Education services, the following prerequisites are required:

Prerequisite  :-

  • Web Application:
  1. A site collection at the root that the user running the cmdlet is a Site Collection Administrator of.
  2. Self-Service Site Creation is turned on for the Web Application.Service Applications.
  • Service Applications:
  1. Managed Metadata Service Application, including Full Control over the Service Application under Administrators.  The Managed Metadata Service Proxy must have all 4 check boxes checked in the Properties, including This service application is the default storage location for column specific term sets” and “Consumes content types from the Content Type Gallery at ”.  Services
  2. User Profile Service Application, .
  3. A Session State Service.
  4. A Search Service
  5. A configured User Profile Synchronization connection to Active Directory.
  • Site Collections:
  1. A MySite host.

Installation:-

Run the following command from SharePoint Management Shell.

PS C:\Users\spfarm> Install-SPEduSites -WebApplication http://spserver2013  -MySiteHost http://spserver2013/sites/mysite -SearchCenter http://spserver2013/sites/search

This process may take some time as it will be creating multiple sites, activating features, and so forth.

Activating Feature: EduAdminPages to central Admin Site
Activating Feature: EduAdminLinks to central Admin Web
Creating: /sites/global Site Collection
Attempting to create site: http://spserver2013:80/sites/global
Activating Feature: EduShared to Institution Site
Activating Feature: EduInstitutionSiteCollection to Institution Site
Creating: /sites/admin Site Collection
Attempting to create site: http://spserver2013:80/sites/admin
Activating Feature: EduInstitutionAdmin to Admin Site
Creating: /sites/studygroup Site Collection
Attempting to create site: http://spserver2013:80/sites/studygroup
Activating Feature: Ratings to Study Group Site
Activating Feature: EduShared to Study Group Site
Activating Feature: EduCommunitySiteId to Study Group Site
Activating Feature: EduEduSearchDisplayTemplates to Study Group Site
Activating Feature: SearchWebPartFeature to Study Group Site
Activating Feature: SearchTemplatesandResources to Study Group Site
Finished Activating Fetures for Study Group Site
Creating: /sites/academiclibrary Site Collection
Attempting to create site: http://spserver2013:80/sites/academiclibrary
Activating Feature: DocMarketPlaceSampleData to Academic Library Site
Adding Academic Library Site to promoted sites view
Ensure current user has user profile
Successfully added Academic Library Site to promoted sites view
Added “All-Authenticated-Users” security group to “Site Visitors” group in Acade
mic Library
Activating Feature: EduShared to My Site Host
Activating Feature: EduDashBoard to My Site Host
Activating Feature: EduMySiteHost to My Site Host
Activating Feature: EduSearchDisplayTemplates to My Site Host
Activating Feature: EduEduSearchDisplayTemplates to Search Center Site
PS C:\Users\spfarm>

This completes the installation process for Education sites. now go to Central Admin — >General Settings, new options are added to Central Administration:
ceb

From the Academic Library, an author can publish documents relevant to the scope of the Host-Based Site Collection or Web Application.  Documents are uploaded, tagged, etc:

2

After a document is published, it allows users to rate the document.

1

From the Central Administration — > Manage Class and groups, Study Groups and Classes can be created.  For example, to create a Class, click Education in the ribbon and select the appropriate option.  Here is an example of Class creation:

3

4

You can see your classes from here.

5

Click on your class then you can manage  Class Calender,Schedule Materials discussion etc from here only.

6

Classes, Memberships, and Users appear to be created via the one Timer Job installed by the Education functionality, Education Bulk Operation.  By default, this runs every 5 minutes.

Microsoft included a Data Import and Export functionality from the Administration site.  From here, you can update user, class, and membership information.  The type of operation (add, update, delete) as well as type of entity (user, class, membership) appears to be validated based on the format of the header row of the CSV.

On the Results and Reports page, we can see I got the last one right!  You’ll also note that you can upload the same file name and SharePoint will automatically generate a new name for it if an existing file is already present.

After creating the Class Teacher can create the Assignment or quiz for student. quiz option comes under assignments type. so just drop-down the assignment type and select the quiz.

its Done  …… 🙂 🙂 🙂

Advertisements

SharePoint 2013 Communication with Yammer

Yammer is an Enterprise social network which was acquired by Microsoft. Yammer is similar as most popular social networking site “Facebook” .In SharePoint we can able to get the feed from external site as well like Yammer.

SharePoint interact with Yammer and get the live feeds to your Web Part.live feeds will be available at both place in SharePoint Web Part and the yammer page.

So here we will go with complete walk through step by step.

YammerHome

  • After click on Groups. your group page looks like below.

yammerGroups

  • Click on All Groups tab. then you can see all the groups in your organization and click on any group to join.

YammerAllgroups

  • After joining the groups you can see the joined group in left panel.

YammerJoinedGroup

YammerSoftwareGroup

  • Click on Software group then Click on Embed this feed.

Emmbed

  • after clicking one pop window will appear There is a script that generated by yammer, shows your domain and group id.

Script

  • After created the embed link from yammer, create a project in Visual Studio 2012 and open new project as Visual Web Part from SharePoint Solutions.

yammerVisualStudio

  • Paste the script inside the Visual Web Part.

yammerVS1

  • Build the Solution and Deploy
  • Open the SharePoint site and add the Web Part then save the page.

Sppage

visualwebpart

  • After adding the webpart your SharePoint page looks like below

YammerSignin

  • Now you need to sign in to Yammer page and Allow your feed to available for SharePoint Environment as below.

yam1

yam2

  • Now you can able to interact with your group from portal and Yammer.

final

Manage Service Application with Windows PowerShell Commands

Windows PowerShell commands that you can use to manage service applications.

COMMAND
DESCRIPTION
Install-SPService
Installs the services in the farm. It runs once per farm.
Get-SPServiceInstance
Start-SPServiceInstance
Stop-SPServiceInstance
Operations related to managing the services instance for a specific server or the entire farm.
Get-SPServiceApplication
Publish-SPServiceApplication
Remove-SPServiceApplication
Set-SPServiceApplication
Unpublish-SPServiceApplication
Operations related to managing service applications deployed to a farm (such as sharing the specified local service application outside the farm).
Get-SPServiceApplicationProxy
Remove-SPServiceApplicationProxy
Add-SPServiceApplicationProxy
GroupMember
Operations related to managing service application proxies.
Get-SPServiceApplicationPool
New-SPServiceApplicationPool
Remove-SPServiceApplicationPool
Set-SPServiceApplicationPool
Operations related to managing the logical architecture of service applications.

SharePoint 2013 Admin Tips and Tricks

If you create the Service Application it creates virtual directories under the SharePoint Web Services in IIS. each Service application virtual directory is created by GUID (globally unique identifier).

VirualDirectory

NOTE An important point to remember is that a service application may have one or more databases. For example, the User Profile service application has profile, synchronization, and social tagging databases. Another example is the Search service application with crawl, link, analytics, and administration databases. The number of databases can quickly add up and be difficult to manage if you do not properly plan capacity.

One issue with confi guring service applications using the Confi guration Wizard is that the associated virtual directory databases can end up having a lot of GUIDs. For example, the name for one of the User Profi le databases could be User Profile Service Application_ProfileDB
_899fd696a54a4cbe965dc8b30560dd07.
Though this might be acceptable in some cases, generally, a more intuitive naming convention makes a more sense. One way to resolve this issue is to use the Manage Service Applications page in the Central Administration site to add service applications individually and then specify meaningful database names. The other alternative approach is to use Windows PowerShell to provision your service applications.
The following code snippet shows how you can provide a State Service service application using Windows PowerShell. Note how the SQL Server database and server name are specifi ed in the code.

New-SPStateServiceDatabase -Name “StateServiceDatabase” -DatabaseServer
“dhsqlsrv” | New-SPStateServiceApplication -Name “State Service Application”
| New-SPStateServiceApplicationProxy -Name ” State Service Application Proxy”
-DefaultProxyGroup > $null

Happy SharePointing …..!!! 🙂 🙂 🙂

Content Localization in SharePoint 2013 using resource files

SharePoint supports content localization to enable the site members to have a SharePoint site in their very own languages. This is very innovative feature of SharePoint with which one can create multilingual sites very easily.
When it comes to creating a multilingual site, particularly, a developer concentrates on the parts on which localization is to be applied. As we know for any SharePoint site, we have a page, where we have, page content, few webparts, header and footer.
With advent of Machine Translation Service in SharePoint 2013, one can easily have a translation of page content by using Microsoft Translator Service. As far as other parts of the page are concerned, web part, particularly, can have some difficulties translating each and every content.
For the same, we can use a resource file, which will enable the webpart interface to adopt to specific language. In this particular post, I will be describing a step by step method to get some content localized by using resource file.

Instructions to create the webpart

Create an empty Visual Studio Project.

Content_1

Provide a website to debug the solution and select “Deploy as farm solution”.

Content_2

Let us add a visual webpart in the solution, named SampleWebPart using New Item option in Add menu.

Content_3

I have added two labels with the id as shown below.

Content_4

It is time to add our resource files. For the same, we’ll map a resource folder

I will right click on the solution and select Add, where I will find SharePoint Mapped Folder.

Content_5

Content_6

After selecting resources in the proceeding screen, I will be able to see a resources folder in my solution.

In the Resources folder, I will create the resource file, by clicking Add Item.

Note the file name for the resource file: Resource.en-US.resx

Content_7

Add some content to the resource file.

Content_8

In the same way, create another resource file for the other language required.

Content_9

Now we’ll do some programming to get our localization working.

Add following two lines in Page_Load event in SampleWebPart.ascx.cs.
Content_10
Create a function named LoadResource along with an enum as shown below.

Content_11

We are ready to go!

Just build and deploy the solution!

The preview on English Site

Content_12

The Preview on Hindi Site:

Content_13

Variations in SharePoint 2013

SharePoint 2013 is packed with many outstanding features. Variations, which were introduced way back in SharePoint 2007, still find its existence in SharePoint 2013.

The upgraded or the new feature in SharePoint 2013 is the ability to translate via Microsoft Translator.

For this particular context, we will learn how to make use of variations in your site.

Prerequisites:

A SharePoint 2013 site with publishing feature

Machine Translation Service already activated.

Instructions on how to activate the Variations

When it comes to activating the variations, we will achieve our purpose by following steps:

  • Create a source site, which will be in English
  • Create a target site, which will be derived from Source site, which is in English.
  • For the purpose of the document, we are having target site in Hindi.
Verify the Variations Settings

Go to Site Settings.
Under Site Collection Administration, click Variations Settings.

img1

Variations Settings Page will show up.

Do the settings as per your need. For example, if you want to update the content on target site manually, you can set the options on this page accordingly.

Create the source variation

From the Site Collection Administration, click on Variation Labels

Following screen will be presented.

img2

We will start with Adding a label.

Click New Label.

Now, we are in process of creating a source variation from where the content will be derived. To do so, select the locale as English (United States). This will act as our default source language.

img3

Give any site location from where you want the source variation to be created. As already described on the page, you can also specify a top-level site by typing / in Variations home field.

img4

You can specify a label name and description for this particular label if needed.

img5

When the source variation is created, one can receive an e-mail notification (if configured) via the Label Contact field. You can enter any site member name here to direct the notification to the person.

img6

Click OK

One thing I liked more about SharePoint 2013, it makes the user comfortable from each of its notifications!! 🙂

You will be comforted with following screen.

img7

The creation of the source variation will depend on the timer job settings. You can modify them under the Central Administration -> Monitoring -> Review Job Definitions

As a result, your source variation will be created.

img8

Creating target variations

Again, under Site Collection Administration, click on Variation Labels

Click New Label, you will be presented with following screen.

img9

In my case, I am going for a Hindi target variation. So, I’ve selected the same in Locale.

Click Continue.

Enter Label Name, description and display name, if needed.

Click Continue.

img10

It gives you an option to go for human translation, where you can create a XLIFF file and do the translation on the target site.

Click continue

img11

On this particular page, you can go for the page update settings as per your requirement.

Click continue

Review the label settings and click finish.

As a result, as soon as your timer job completes, you will be able to see the following screen.

img12

On the left pane, you are clearly able to see the two variations created.

For testing purpose, we will create a page on Source Site (English) and see if it is generated on Target Site (Hindi).

For the same, create a page on source site via the Gear menu.

img13

Check in and publish the page.

Go to Variation labels from Site Collection Administration.

Click on Create hierarchies.

From the ribbon menu,

Click Publish, under which click Update all targets.

img14

You will be able to see the above message.

As a result, you will be able to see a page in the target variation.

img15

That’s all! 🙂