Group UI Actions in the Form context menu

torwc
Kilo Contributor

Is there any way I can group the UI actions I have created and placed in the Form context menu? Like the Groups Configure, Templates, Export, View and History.

I want to place my Ui Actions Create Change, Relate Incidents and Relate CI into one new group.

find_real_file.png

Kind regards

Tor-Werner Carlsson

5 REPLIES 5

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Tor,



You may find the below link helpful.


http://wiki.servicenow.com/index.php?title=Context_Menus#gsc.tab=0


torwc
Kilo Contributor

Hi


Thanks.


This is helpful for a list header menu like in my first example below. Here I have already been able to make a parent menu called "Reference links" with a new menu option "Reference link to Problem". But what I am talking about is the form context menu that you get when you right click in a form like the Incident form. See my second example below.



list header menu.PNG



In the form context menu I am not able to make a new parent menu option like I did above. What I want to achieve is to group all the "Create xxxxx" UI actions into one parent menu option called for example "Create tasks", and all the "Reference link to xxxxx" into one parent menu option "Reference links".


form context menu.PNG


torwc
Kilo Contributor

Found the solution:



* The form Context Menu is coded in a UI Macro using the jelly and javascript code. I can edit this Macro to add the item I wish to add. - https://XXXXX.service-now.com/nav_to.do?uri=sys_ui_macro.do?sys_id=2ff1c56ca9fe3dba014340c4697b5088



* The List Contect Menu is coded in a UI Context Menu module - https://XXXXX.service-now.com/nav_to.do?uri=sys_ui_context_menu.do?sys_id=a2c38e980a0a0b3000d5190f47...


Hi Tor,



I am having same requirement, to have some actions to be added in form context menu.Is it possiblefor you   to share the code you modified as I need to check how to modify it.



Thanks in advance!