How to integrate Yammer with sharepoint 2013 online and SharePoint 2013 on-premises?

How to integrate Yammer with sharepoint 2013 online and SharePoint 2019 on-premises?
InfoPath alternatives for form designing SharePoint

In this post we will discuss how we can integrate Yammer with SharePoint Online Office 365 as well as to on premises. Yammer was acquired by Microsoft which is like private social network for you company. Yammer provides lots of social network features like your company employees can start social conversations, can collborate with files, can create or join groups, can follow users etc. In yammer employees can chat with other employees who are online etc.

Also you can read:
– How to create site definition using Visual Studio 2013 in SharePoint 2013?

– Working with Nintex workflow for Office 365 SharePoint Online

– SharePoint CAML Query Helper for SharePoint 2013 On premise Online SharePoint 2010 and 2007

We can easily add Yammer functionality into SharePoint online site or office 365 sites by adding Yammer feed into a site. Previously Microsoft provided an app “Yammer App for SharePoint 2013” which was available in App store to add into SharePoint sites. But Microsoft removed the app from App Store. And the only way we can integrate Yammer to SharePoint site is with Yammer embed.

First of all to use Yammer in SharePoint online site, we need to turn in Yammer.com service in SharePoint Admin center.
Sign in to your Office 365 Admin center using your Office 365 Account. Then go to the SharePoint Admin center. Here click on Settings. Under Enterprise Social Collaboration, select Use Yammer.com service to turn it on. Then click on Save. It looks like below:

How to integrate Yammer with sharepoint 2013 online and SharePoint 2013 on-premises?
How to integrate Yammer with sharepoint 2013 online and SharePoint 2013 on-premises?

There are two ways you can get the embed code for Yammer. You can go to developer.yammer.com and can get the embed code for there.

Here we will copy the My Feed code which looks like below:

<script type=”text/javascript” src=”https://c64.assets-yammer.com/assets/platform_embed.js”></script>
<div id=”embedded-feed” style=”height:400px;width:500px;”></div>
<script>
yam.connect.embedFeed({
container: ‘#embedded-feed’,
network: ‘fourleaf.com’ // network permalink (see below)
});
</script>

Here we just need to change network parameter which looks like below:

<script type=”text/javascript” src=”https://c64.assets-yammer.com/assets/platform_embed.js”></script>
<div id=”embedded-feed” style=”height:400px;width:500px;”></div>
<script>
yam.connect.embedFeed({
container: ‘#embedded-feed’,
network: ‘onlysharepoint2013.onmicrosoft.com’
});
</script>

Copy the above code and Open your SharePoint online site where you want to add your Yammer feature. Edit the page and click on Add a webpart. Then from the Ribbon choose Media and Content category and then click on Script Editor web part. Then edit the web part and click on EDIT SNIPPET. Then in the box put the above code.

Save the page and you can see your Yammer stuff will appear here. You can join the conversations here also which will reflect instantly in your Yammer home page also.

How to integrate Yammer with sharepoint 2013 online and SharePoint 2013 on-premises?
How to integrate Yammer with sharepoint 2013 online and SharePoint 2013 on-premises?

The other way to get the embed code is Sign in to https://www.yammer.com/ with your Office 365 account. Now go to the feed you want to display. Here I go to a group feed. Once you will open the group, you can see in the right below one option called as “ACCESS OPTION”, which has one option as: “Embed this Feed in your Site”.

How to integrate Yammer with sharepoint 2013 online and SharePoint 2016 on-premises?
How to integrate Yammer with sharepoint 2013 online and SharePoint 2016 on-premises?

Once you click on that link, it will open embed code in a dialog box like below:

How to integrate Yammer with sharepoint 2013 online and SharePoint 2013 on-premises?
How to integrate Yammer with sharepoint 2013 online and SharePoint 2013 on-premises?

The code for group feed will be like below:

<div id=”embedded-feed” style=”height:800px;width:400px;”></div>
<script type=”text/javascript” src=”https://s0.assets-yammer.com/assets/platform_embed.js”></script>
<script type=”text/javascript”>
yam.connect.embedFeed({
container: “#embedded-feed”,
network: “onlysharepoint2013.onmicrosoft.com”,
feedType: “group”,
feedId: “8201769”
});
</script>

Copy the code and go the page, add a script editor web part and the paste the above code and then Save the page. You can see Yammer feed will appear like below:

How to integrate Yammer with sharepoint 2013 online and SharePoint 2019 on-premises?
How to integrate Yammer with sharepoint 2013 online and SharePoint 2019 on-premises?

Hope this will be helpful.

Similar SharePoint 2013 Tutorials

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →

Leave a Reply