UI Context menu

Not applicable

I have been asked to make the copy sys_id available for discovery admins when you right click the header bar on a page. I found the entry for copy sys_id in the UI Context Menus and changed the condtion to say:
gs.hasRole('admin') || gs.hasRole('discovery_admin');
It did not work, so i changed the name of copy sys_id to copy sys_id1 to see if i could see the name change and it did not. I assume i am in the wrong place to control this action but i don't know where else to look

2 REPLIES 2

jacob_kimball
ServiceNow Employee
ServiceNow Employee

For the form header context menu, this is actually contained in a UI Macro named context_form_header. If being able to do it from the list is enough, the UI Context Menu change would be where to do it.


Not applicable

That is exactly what i needed
Thanks
Bill