Hide UI action in SOW but still be able to trigger it from Record Information SNC variant

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2024 01:20 PM
Hello,
In UI Builder from 'SRP Record' -> 'Record Information SNC', client script 'Open Assign Modal', there's a line to trigger the [Task] 'Assign to me' UI action. I copied that UI action and updated the 'Open Assign Modal' client script with the new custom UI action sys_id.
Code snippet from the client script to orient where I'm at -
api.emit('SOW_RECORD_UI_ACTION#EXECUTE_UI_ACTION', {
actionSysId: "8513fcd0773b301027aae297cd5a9968"
});
To reiterate - I copied the OOB UI action 'Assign to me' and created a custom one because we want to customize the UI action. In my 'Record Information SNC' variant, I updated the actionSysID of the client script to the new custom UI action. My dilemma is that I do not want the new UI action to show on the Incident form within SOW at the top. I want it to be used in the 'Assigned to' card within Record Information; however not display with the other buttons, like Save, Resolve, etc. If I make the UX Form Action inactive, the button doesn't display but the functionality on the 'Assigned to' card within Record Information card is also lost - a button click doesn't do anything.
Is there a way for the UI action to be accessible and run from the 'Assigned to' card within Record Information but NOT show on the form up above where the other UI actions are like Save, Resolve, etc? Is there a better way to have done this?
0 REPLIES 0