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>

===

 

1 comment:

Featured Post

Create SharePoint Folder Structure in Destination (Only If Not Exists)

Why This Script Is Safe You can run it multiple times It will not create duplicate folders It will only create missing folders S...

Popular posts