Yammer integration

We are going all-in with Confluence these days, having 2-3 pilot projects running and slowly creating awareness on wiki collaboration.

In addition to Confluence, we have used Yammer some time now. Seems like it fills a gap that cannot be filled by a wiki like Confluence. Users like it, and don't want to have it removed. As an IT administrator, I want to consider to take it up a notch and go to enterprise edition of it.

Does anybody have any experience on using these tools together in the organisation, and how to create awareness on what info goes where?

And: how to integrate, so that a Yammer feed is displayed on a Confluence Home page. Yes, I know there is a plugin for it, but it seems old and unsupported.

-Christian Willoch

CIO, Xtra personell, Norway

7 answers

1 accepted

Yammer in Confluence Video - Available now. 

info@appfusions.com if you would like to trial it! 

http://youtube.com/watch?v=gpiRaGplWqQ

Is it possible to use the Yammer embed code in Confluence on Demand version?

Something like this inside the HTML-macro would also work:

{code}

<script data-app-id="hyB2pTvrL36Y50py8EWj6A"
src="https://assets.yammer.com/platform/yam.js"></script>
<script> yam.connect.embedFeed({
	container: "#embedded-feed",
	network: "yourdomain.com",
	feedType: "group",
	feedId: "595823"});
</script>
<div id="embedded-feed"></div>

{code}

Would love to get some guidance on some example integration approaches to yammer + Confluence/JIRA (potentially with sharepoint in the mix). We're exploring the JIVE + Atlassian as well (Ellen, thank for you assistance on this piece!), but it's looking like perhaps we're going to bring yammer online in 2014.

What approaches, successes, or confusing messages have anyone experienced with blending Atlassian and Microsoft solutions? Very curious, and insights are appreciated..

Thanks

Hi, Christian...just curious if you ever integrated the two. I'm looking to do the same here, and wanted to know what your experience was.

Is it possible to use the Yammer embed code in Confluence on Demand version?

Not sure about the security stuff... but there is a way around to embed Yammer posts onto confluence space/page

Install a free macro called 'CYO Create-Your-Own' from the Atlassian marketplace.
Use this macro to create a module with a user-defined name...
Insert a javascript snippet somethings similar to the following snippet and save it. This will create a new macro module with the given name.

 

&lt;script type="text/javascript" src="https://XXX.assets-yammer.com/abcd.js"&gt;&lt;/script&gt;
&lt;div id="embedded-feed" style="height:200px;width:500px;"&gt;&lt;/div&gt; 
&lt;script&gt;
yam.connect.embedFeed({
container: '#embedded-feed',
network: 'your-domain.com' ,
feedType: 'group', //other types are 'User', 'Topic'
feedId: '12345'
});
&lt;/script&gt;


Check out the web page <https://developer.yammer.com/docs/embed> for how to get the above code snippet for your context.

On a Confluence page, insert a JIRA macro called 'div' and insert the 'CYO' module you created above inside the 'div' macro.

I found that Yammer's JavaScript breaks when you try to put this in a user macro.  This is because Confluence wraps <![CDATA]> tags around some of the JavaScript assuming that you're using XHTML.  Yammer's embed code works fine with the HTML macro, but it's a security risk to give every user on your server permission to insert HTML/JavaScript code into your pages.  This opens you up to cross-site scripting attacks.  So instead, I wanted to write a user macro that would allow users to embed their own Yammer newsfeeds on demand.

It took me some work, but I got it working and has been tested with Confluence 5.9.7.  If you'd like to use it, check out my blog post about the Confluence Yammer Newsfeed Macro.

 

 

Simply put a newline before the first closing script tag to avoid the buggy CDATA placement. E.g.

<script type="text/javascript" src="https://s0.assets-yammer.com/assets/platform_embed.js">
</script>

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,228 views 23 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you