7 Replies Latest reply on Jun 2, 2015 9:06 AM by hymavathi

    Place contextual conditional app actions

    tim.mila

      Following the examples in App Action Contribution Reference I'm trying to create an conditional app action visible only within a specific social group.  I've created the following action-contributions entries in my app.xml

       

      <Require feature="actions">
        <Param name="action-contributions">
        <![CDATA[
        <action id="placeAction1" path="jive/actions/places/group" label="All Groups" view="place-action-view"/>
        <action id="placeAction2" path="jive/actions/places/group?filter=equals(context.ID,1017)" label="Specific Group" view="place-action-view"/>
        ]]>
        </Param>
      </Require>
      

       

      When I browse to the social group, only the "All Groups" action contribution is visible in the social group Actions menu.  I've verified the social group identifiers are 1001 (groupId) and 1017 (browseId).  I have also tried context.parentObjectID property passing the value 1001 without success.  If I remove the "?filter" querystring from "placeAction2" both app actions are visible in the social group Actions menu.

       

      I'm currently using 7.0.1.1 in a local environment and the add-on will eventually be deployed into a Hosted 7.0.1.1 environment.  Is there something obvious I'm overlooking?  Are there known issues with this functionality?  Something else going on?

       

      Thanks,

      Tim