Hi Champs,
I have a use case where I don't need to show the related action in a record related action tab ; but I need to call that related action of a separate interface. the reason for doing this is I have to call an interface in a popup/dialog ; which can only possible in related action.
Is it feasible to do so ?
Discussion posts and replies are publicly visible
Using related actions just to please a "requirement" to create a popup is questionable. But, sure. Disable the related actions view for that record. Settings the visibility to false, will make it unavailable in general. So avoid that.
1. Set Record Visibility to false().
2. User following code to display recordAction in the interface.
a!recordActionField( actions: { a!recordActionItem( action: recordType!Department.actions.update, identifier: ri!departmentId ), a!recordActionItem( action: recordType!Customer.actions.flag, identifier: ri!customerId ) } )
Ref. docs.appian.com/.../Record_Action_Component.html
Hi Abhay, once you make related action visibility to false , it won't show in interface too.
Use constant to set the record action visibility to false. Update constant to true from the interface and set it back to false when you are done with it.
This is like shooting in your own foot. Not recommended as it will not work for multiple users. I highly recommend to use Appian features along the purpose they are made for, not to force them into something else.