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.


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:

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:


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


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:



You can see your classes from here.


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


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  …… 🙂 🙂 🙂


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 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.


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


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


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



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


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


  • 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.


  • Paste the script inside the Visual Web Part.


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



  • After adding the webpart your SharePoint page looks like below


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



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


Manage Service Application with Windows PowerShell Commands

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

Installs the services in the farm. It runs once per farm.
Operations related to managing the services instance for a specific server or the entire farm.
Operations related to managing service applications deployed to a farm (such as sharing the specified local service application outside the farm).
Operations related to managing service application proxies.
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).


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
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.


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


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


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


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.



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


Add some content to the resource file.


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


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

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


We are ready to go!

Just build and deploy the solution!

The preview on English Site


The Preview on Hindi Site:


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.


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.


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.


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.


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.


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


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.


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.


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.


Creating target variations

Again, under Site Collection Administration, click on Variation Labels

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


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.


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


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.


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.


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.


You will be able to see the above message.

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


That’s all! 🙂