0 Replies Latest reply on Jul 13, 2016 4:24 AM by erikwiborg

    Mention does not show up after adding activity through API

    erikwiborg

      I'm adding an activity through the api, and in the content blob there is a mention of a place, in the form of a url. However, after the activity shows up on my stream, the mention is not shown in the place i mentioned.

       

      here's the request body i'm posting to https://test-internal-jive.com/api/core/v3/activities :

      {
          "title": "Published  content mention delivery",
          "content": "Erik published the following page: <a href=\"${@object.url}\">${@object}</a> from <a href=\"https://test-internal-jive.com/groups/bar/activity\">Foo</a>",
          "body": "Erik published the following page: <a href=\"${@object.url}\">${@object}</a> from <a href=\"https://test-internal-jive.com/groups/bar/activity\">Foo</a>",
          "verb": "published",
          "object": {
              "displayName": "Test",
              "objectType": "test",
              "url": "https://test.foo.boar",
              "summary": "<a href=\"https://test-internal-jive.com/people/123456\">Erik</a> published <a href=\"${@object.url}\">${@object}</a> from <a href=\"https://test-internal-jive.com/groups/bar/activity\">PageExpress</a>",
          },
          "actor": {
              "displayName": "Erik",
              "objectType": "jive:person",
              "url": "https://test-internal-jive.com/people/123456"
          },
      }
      

       

      The activity shows up correctly in my stream, with the mention rendered nicely. However, in the /bar group, there's no sign of it.

       

      What am I missing?

       

      Help much appreciated,

       

      cheers,

      erik