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

This widget could not be displayed.

Yammer in Confluence Video - Available now. 

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

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

This widget could not be displayed.

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

This widget could not be displayed.

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}

This widget could not be displayed.

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

This widget could not be displayed.

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.

This widget could not be displayed.

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.

This widget could not be displayed.

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
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

263 views 2 4
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