Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
theBIbutler
Resolver II
Resolver II

Yammer feed in Web Content Widget

Hi,

 

Has anyone managed to embed a Yammer feed into a Web Content Widget?

 

Struggling to get it to work.....

 

Cheers

 

Mark

7 REPLIES 7
djnww
Impactful Individual
Impactful Individual

@theBIbutler

 

I tried embedding one of our company's yammer feeds into a dashboard tile and it seems that Power BI and Yammer do not authenticate each other's credentials, even though we are all on the same network, Office 365, and Active Directory.

 

I could have approached this the wrong way. Anyone have any ideas ?

 

Our plan is to embed individual yammer feeds into their related dashboards. This will get our users talking, collaborating, and analysing dashboards/reports on one single platform.

 

example.JPG

 

 

Hi,

 

I tried it like this using the Yammer embed code:

 

<div id="embedded-feed" style="height:800px;width:400px;"></div>
<script type="text/javascript" src="https://assets.yammer.com/assets/platform_embed.js"></script>
<script type="text/javascript"> yam.connect.embedFeed({
 container: "#embedded-feed",
 network: "##########",
 feedType: "group",
 feedId: "##########",
 config: {
             use_sso: true // this line enables SSO
             , header: true
             , footer: true
             , showOpenGraphPreview: false
             , defaultGroupId: ##########      // specify default group id to post to
        }});
</script>

 

And tried it with and without SSO but no joy either way.  Tested the code in an html file and it worked fine in my browser.

 

I've logged a support ticket so will see what they say...

 

Cheers

 

Mark

djnww
Impactful Individual
Impactful Individual

Thanks 🙂 Please share your results. Looking forward to some good news.

Cracked it! Smiley Very Happy

 

Changed tack and went for an iframe route, managed to get it working!!

 

<iframe class="yj-embed-widget yj-embed-feed" src="https://www.yammer.com/platform_embed/feed?container=%23embedded-feed&network=###########&network_permalink=#########&feedType=group&feedId=#########" style="border: 0px none; overflow: hidden; min-height: 26px; width: 100%; height: 100%;" name="embed-feed" id="embed-feed" frameborder="none"></iframe>

 

 

I had some issues with being able to log in to Yammer via the widget but solved these by adding powerbi.com and yammer.com to Trusted Sites.

 

Very happy to get this working, looks smart!!

 

Cheers

 

Mark

Great,

Is it maybe possible:

 

  1. To remove options to post messages and reply
  2. To set source only for All company or My feed
  3. To limit number of post shown to only latest 5, for example

Hi,

 

  1.  I don't think so
  2.  For My Feed just remove feedType and feedID parts of the URL in the iFrame.  Don't think you can specify All Company.
  3.  I don't think so

Sorry, not much help!!

 

Cheers

 

Mark

djnww
Impactful Individual
Impactful Individual

I'd like to know as well.

The community has actually requested for PowerBI and Yammer integration. As such, I think the answer is no. But hopefully there's a workaround.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors