Showing posts with label IFrame. Show all posts
Showing posts with label IFrame. Show all posts

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>

===

 

Featured Post

Build a Secure MCP Server on Azure Functions for Copilot Studio Agents (Entra ID OAuth)

Model Context Protocol (MCP) is quickly becoming the standard way to give AI agents real tools. Copilot Studio can call any remote MCP serve...

Popular posts