Community articleActivity Stream POST with Embedded Experience
Added by IBM contributorIBM | Edited by IBM contributordeveloperWorks Lotus Team on July 7, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

No abstract provided.


Embedded experiences allow the user to create a customised experience for anyone who clicks on an event. The example below references a Google wisdom gadget so that you can see exactly how a gadget reference works without building one. In a real deployment, it is likely that you would want to include some context information with a gadget reference so that the appropriate object could be displayed rather than a generic embedded experience.

POST content

 "generator": {
    "image": {"url": "/homepage/nav/common/images/iconProfiles16.png"},
    "id": "demoapp",
    "displayName": "Demo Application",
    "url": ""
  "actor": {
    "id": "@me"
  "verb": "post"
, "title": "You have been receiving Wisdom !",
  "content": "<b>You</b> have been receiving <i>wisdom</i>",
  "updated": "2012-01-01T12:00:00.000Z",
  "object": {
    "summary": "Daily pearls of wisdom",
    "objectType": "note",
    "id": "wisdom1",
    "displayName": "Wisdom",
    "url": "",
,   "openSocial": {
    "embed": {
      "gadget": "",
      "context": {"id":"12345"}

  • The embedded experience context above is unused by the gadget in question.