Wednesday, April 27, 2022

Yammer Embed code

 Yammer Embed code

 

1. IFrame:

<iframe name="embed-feed" title="Yammer" src=https://web.yammer.com/embed/groups/dHlwZSI6IkQiOiIxMDY5OTU3 style="border: 0px; overflow: hidden; width: 100%; height: 100%; min-height: 400px;"></iframe>

 

2. Content Editor Webpart:

<div id="embedded-feed" style="height:500px"></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: "company.com",

    feedType: "open-graph",

    config: {

        defaultGroupId: "w1Z2S3I6Ikdyb3DY5OTU3Nzc1M",

        showOpenGraphPreview: true,

        promptText: "Comment on this page",

        header: false, 

        footer: false

    },

    objectProperties: {

        url: https://sreekanth8.onmicrosoft.com/sites/dev/SitePages/page1.aspx,

        type: "page",

        title: "my test page"

                              }

});

</script>

===

 

No comments:

Post a Comment

Featured Post

Mention a Channel or Team – Power Automate

Mention a Channel or Team – Power Automate graph.microsoft.com/v1.0/teams/{teamId}/channels/{channelId}/messages Channel: ---------- {   &qu...

Popular posts