Quantcast
Channel: BizTalkGurus
Viewing all articles
Browse latest Browse all 2977

Blog Post: SP2013: Adding an Embedded Yammer Feed to SharePoint

$
0
0

While setting up a new SharePoint solution one of the requirements was to embed a Yammer Feed.

So I followed the help document only to have an unusual situation:

1) the feed wouldnt render in browse mode.

2) the feed WOULD render in Edit Mode.

The key to the situation was to declare a little more on the sample script Yammer gave – adding ‘text/javascript’

Here’s the working script – (one for the bat –utility belt)

*tested from Win8, Firefox *

<script data-app-id='hyB2pTvrL36Y50py8EWj6A' type='text/javascript' src='https://assets.yammer.com/platform/yam.js'></script>
<script type='text/javascript'>
yam.connect.embedFeed(
{ container: '#embedded-feed'
, network: 'yournetworkhere'
});
</script>
<div id='embedded-feed'></div>


Blog Post by: Mick Badran

Viewing all articles
Browse latest Browse all 2977

Trending Articles