To add an item/option in List context menu for scoped Application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2017 10:12 AM
Hi All,
I am trying to do a task where I have to add an additional item (example: Sample Option) to the Configure option in Form context menu which appears after right-clicking the form header. I created a new UI Context Menu as shown below:
When I checked the available options by right clicking the list, this newly added item appeared in the menu as shown below:
Now the problem is when I added two additional conditions i.e. !ListProperties.isRelatedList() && !ListProperties.isRefList():
'Sample Option' is no longer present in the right click context menu as shown below:
These additional conditions work when I apply it on a global table. But I am trying to add this option on a scoped table/application. So I want to know if this !ListProperties.isRelatedList() && !ListProperties.isRefList() conditions work only on global tables ?? If yes, is there any way to apply these conditions on a scoped table.
Any help would be highly appreciated.
Note: Helsinki version is configured on my ServiceNow instance.
Thanks & Regards,
Gulzar Manuja
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-30-2020 09:38 AM
Hi gulzarmanuja, I know it's been a long time since you posted this, but did you ever find a solution? I'm encountering the exact same issue myself (scoped app table, using !ListProperties.isRelatedList() and !ListProperties.isRefList() in the UI Context Menu condition along with a simple gs.hasRole() condition) and it isn't working for me either. (London release)