- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2022 11:27 PM
Hello Hritik,
Why you are writing a UI policy to hide the UI action. Instead you can specify the conditions under UI actions only to hide the UI action.
Here in the UI policy script you are using DOM to hide the UI action which is not the best practice and it may vary the results based on the browsers/upgrades.
Hope it helps!!
Please Mark ✅ Correct/helpful, if applicable, Thanks!!
Regards
Sulabh Garg
Regards
Sulabh Garg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2022 11:27 PM
Why don't you directl pass the condition in the Condition field of the UI Action.
No need of DOM manipulation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2022 11:29 PM
Set the condition in the condition field of the UI Action not via client script. (current.subject_to_gxp == 'No')
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2022 02:02 AM
Condition is not working in list view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 01:18 AM
I have an out of the box UI action where I have conditions already mentioned and it is not allowing to type further code in this field, how can I accomplish the similar requirement in this case?