How do you create a submenu for ui actions to be listed under on a Form?

tim_harris
Giga Expert

In the list view I can create context menus and have ui actions nested under a submenu to the context menu. However, I can't figure out how to do this for the context menu that appears when right clicking the title bar in the form view. Anyone have any ideas?

5 REPLIES 5

ChrisRoyer
Kilo Guru

So under UI context there should be a field called "menu" that should allow you to set form header. No this isn't the standard UI action.


Interesting... Our instances only have three choices:


  1. List Header
  2. List Row
  3. List Title

There is no "Form Header" option to select. Is that possibly a customization?


Well nothing on my instance indicates it was customized and it appears to have been there since the start (2011) Yet I don't see it mentioned in the wiki article. Context Menus - ServiceNow Wiki. Perhaps it is apart of some customization I may not be immediately familiar with. Taking a look at Advanced Templates - ServiceNow Guru which was loaded as apart of our initial rollout of the instance it uses a UI Macro to edit those context menus. That might help you get started I'm going to look into why I have that form option, because it' not being used either.


Chris, I looked into the Advanced Templates by ServiceNow Guru but it did not contain the customization. However, I did start writing my own customization. 🙂 I will post the solution here once I am done.