6 Replies Latest reply on May 22, 2015 9:24 AM by ryanrutan

    Embedding an addon app view?

    butch

      Hey Ryan - just attempting to embed an App view into our ExtStream and Activity post - not making much progress.

       

      This is to replace the "View Beeline" link that is currently present with an embedded experience.

       

      Just as background, using our !App hashbang, we're able to call...

      osapi.jive.core.container.closeApp({
           data:{
                display: {
                     type: "text",
                     icon: "images/icon16.png",
                     label: "View Beeline"
                },
                target: {
                     type: "embed",
                     view: "embedded.beelineRTE",
                     context: {
                          type: "beeline",
                          kid: "8jsjskj32kjsja"
                     }
                }
           }
      });
      

       

      To insert a link to an embedded link into a document.   This works fine.

      Screenshot from 2015-05-21 14:21:08.png

      And launches the embedded.beelineRTE experience

       

      Screenshot from 2015-05-21 14:21:39.png

       

       

      When posting to api/core/v3/activities we'd like to embed the same type of link.

       

      When attempting to use the "openSocial": { "embed": {...} } payload...

      Screenshot from 2015-05-21 14:15:36.png

      Or... (got this idea from OpenSocial 2.5.1 Activity Streams and Embedded Experiences APIs)

      Screenshot from 2015-05-21 14:35:07.png

       

      Nothing about the gadget seems to be present in the resulting post.

      Screenshot from 2015-05-21 14:16:58.png

       

      Can you point me to any example payloads that would better explain how to use "openSocial": { "embed": {...} } to get our Activity posts to have similar functionality to our !App hashbang postbacks?

       

      I'm using these references and are where I got the idea to use the "openSocial": { "embed": {...} } payload

       

      Jive API v3.0 → osapi.jive.corev3.OpenSocial entity

      Jive JavaScript API v3.10 → osapi.jive.corev3.Embedded entity

       

      Thanks!

       

      Pink Markus Nagel just in case he has any ideas.