I have a use case involving a read-only grid, where the last column contains a recordActionField. My requirement is for some actions within this field to open in a dialog box, while others should open in the same tab.
Currently, the recordActionItem does not permit specifying the behavior for how each action opens. I am limited to using the configuration settings of the recordActionField for all actions. Is there a solution to address this issue?
Discussion posts and replies are publicly visible
We can do this using two a!recordActionField and if condition. See the sample code for reference:
a!gridColumn( label: "Action", value: if(fv!identifier = 1, a!recordActionField( actions: { a!recordActionItem( action: recrod Type Action, identifier: fv!identifier, ) } ), a!recordActionField( openActionsIn: "SAME_TAB", actions: { a!recordActionItem( action: recrod Type Action, identifier: fv!identifier, ) } )), )