3 Replies Latest reply on Mar 10, 2016 12:30 PM by Scott A Johnson

    Create extended property for a place and filter on it in app actions

    shipra

      Hello,

       

      I am trying to use filters in app action.

       

      Trying to understand if using filter in app action is the only way to conditionally show app actions.

      I am following this document: https://community.jivesoftware.com/docs/DOC-114464#jive_content_id_Content_Action

       

      I tried using:

      <action id="com.jivesoftware.contentaction" 

        path="jive/actions/content/discussion?filter=equals(context.objectType,700)"

       

      But this is not working.

       

      Can I filter on place context if my action is a content type?

       

      I wanted to show the discussion app action only for those groups which have a certain extended property set.

       

      Is this possible?

       

      Also while creating extended property I came across an issue -

      {

       

       

        "error" : {

       

       

          "message" : "This request is not allowed for invalid client id",

       

       

          "status" : 401

       

       

        }

       

       

      }

       

      Later I saw in community I have to use oAuth for authentication for this.

      Is there a way using osapi I can create extended properties for places?

       

      Thanks a lot!

       

      Shipra