Jul 26 2017 10:37 AM
Jul 26 2017 10:37 AM
HI folks, I'm trying to embed Yammer's "All Company" feed into a new SharePoint Online intranet home page (wiki page, mainly out of the box). Looks like you can't get the embed code like you can with a Yammer Group.
What's the best option here? Am I stuck with a redundant Yammer Group that has to have the permissions updated whenever someone joins or leaves the company? How do I keep users from being confused about two redundant feeds?
Any best practices or lessons learned you can share? I did some searching ahead of time and surprisingly didn't come across any posts with the same issue. So maybe I'm missing something.
Any help would be appreciated! Thanks!
Oct 13 2017 05:32 PM
Jan 14 2018 03:47 PM
Replacing the feed id with 'all' doesn't seem to work anymore. Our intranet home page is now feeding the Tech Support feed instead of All Company which EVERY TEAM uses as their main feed. What a pain. I know some orgs are so large they wouldn't find All Company practically useful but SMEs where integration is key certainly do. If anyone has another solution I'm all ears.
Jan 24 2018 05:44 AM
Feb 15 2018 05:57 AM
Feb 18 2018 03:58 PM
Managed to find a workaround and took the embed code from a group feed and changed the "FeedId" field to 'all'.
Mar 15 2018 07:47 AM
Want to update that the Yammer modern web part now allows searching up "All Company" as a feed, and it also allows posting :D
May 03 2018 04:49 AM
Oct 03 2018 04:46 AM
Unfortunately I can't choose the number of posts to display in the widget of the moder page
Suggestions ?
Oct 10 2018 11:25 AM
Mar 31 2019 01:02 PM - edited Mar 31 2019 01:05 PM
@Alireza Rahimifarid , I agree there is a need for at least the photos to have an on or off control in the Modern Yammer webpart .
@Mikael Svenson can you let us know either how to do this or when it will be an available feature ?
I see that the Yammer Highlights webpart has photos,
https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/SharePoint-web-part-updates-Yammer-...
And that it is rolling out , but when to my tennant ...... and what layout options will there be ?
Apr 01 2019 01:00 AM
@Dorje McKinnon we've seen the new web part missing on some tenants (not sure why), but if you have the new one, you should be able to pick all company as the feed.
Apr 01 2019 02:19 PM
@Mikael Svenson , many thanks we do have the new webpart in our tennant. And we can choose the all company group.
My question is focused on when that webpart in modern will have other display options, specifically to display the photos within yammer posts.
Apr 01 2019 11:57 PM
@Dorje McKinnon wrote:
@Mikael Svenson , many thanks we do have the new webpart in our tennant. And we can choose the all company group.
My question is focused on when that webpart in modern will have other display options, specifically to display the photos within yammer posts.
Ah... that's hard to know - and see your point.
Apr 02 2019 01:04 PM
Apr 16 2019 03:23 PM
@Mikael Svenson / @Deleted / @Alireza Rahimifarid
And for anyone else who really needs Yammer feed in modern sharepoint with photos.
I've been able to insert the classic Yammer feed into a Modern page with photos , without a software developer.
This is how I've done it until an SPFx Yammer feed with photos is available.
- Our environment has a modern sharepoint intranet home page, but because we use search refiners we use Classic SharePoint search.
- I created the following file
https://<ourtennant>.sharepoint.com/search/Pages/yammerfeed.aspx
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@ Page Language="C#" %>
<%@ Register tagprefix="SharePoint" namespace="Microsoft.SharePoint.WebControls" assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta name="WebPartPageExpansion" content="full" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled 1</title>
<meta http-equiv="X-UA-Compatible" content="IE=10" />
<SharePoint:CssRegistration Name="default" runat="server"/>
</head>
<body>
<form id="form1" runat="server">
<div id="embedded-feed" style="height:800px;width:100%"></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: "OurTennant.co.nz",
feedType: "group",
feedId: "all",
config: {
use_sso: true,
header: false,
footer:true,
hideNetworkName:false
}
});
</script>
<a href="https://www.yammer.com/OurTennant.co.nz/#/home" target="_blank">OurTennant Yammer</a> | <a href="https://OurTennant.sharepoint.com/sites/governancecentre/Training/SitePages/What%20is%20Yammer.aspx">How to sign up for Yammer</a>
</form>
</body>
</html>
- On the modern sharepoint home page I used the Embed spfx webpart and inserted an iframe
<iframe width="100%" height="900px" src="https://ravensdown.sharepoint.com/search/Pages/yammerfeed.aspx" frameborder="0"></iframe>
- At first I got an error in the Embed webpart.
- To fix this I edited the HTML field security admin setting, and added two entries
assets-yammer.com
yammer.com
https://<OurTennant>.sharepoint.com/sites/ravnet2/_layouts/15/HtmlFieldSecurity.aspx
- after this the embed iframe worked fine and we have our threaded yammer view of the all company news feed with photos.
A key requirement for our users to be OK with moving to a SharePoint modern home page.
>>> I hope this helps others with a similar challenge <<<
Apr 16 2019 11:11 PM
@Dorje McKinnon Not a bad workaround at all :) Being a developer I would have wrapped the aspx code in a part of course - but indeed a nice way of reusing the old asp.net capabilities :thumbs_up:
Jun 20 2019 01:57 PM
@Dorje McKinnonthis was a big help - it reminded me that iframing a file with the yammer embed code was what we often did in classic sites, but I've been losing my workaround chops since focusing on the neutered modern ui....and you don't need a search site to do this - any location that will take an aspx file and is accessible to your modern site collection will work. We create files like this in SP Designer in a style library folder and it works fine.
Why the "all co" group isn't accessible in the modern yammer conversation web part is something I guess only Msft knows. Seems like a daft miss to me.
Jun 24 2019 12:03 PM
May 03 2021 02:42 PM
Using the embed configure tool i was able to get the all company feed by choosing
Feed Type: Group
Feed ID: 0
yam.connect.embedFeed({
"feedType": "group",
"feedId": 0,
"config": {
"use_sso": false,
"header": true,
"footer": true,
"showOpenGraphPreview": false,
"defaultToCanonical": false,
"hideNetworkName": false,
"theme": "light"
},
"container": "#embedded-feed"
});