Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Expand list navigation in the workspace

Olli_2109
Tera Expert

Hi everyone,

 

I've added a list navigation in the UI Builder.

I've been looking for a way to expand the list menu by default for a long time. Unfortunately, I haven't found a solution. Is this possible, and can anyone help me?

 

As an example, the list menu in the CSM workspace:

 

Olli_2109_0-1750773825207.png

 

 

My idea is that the menu is expanded when the list is called up, e.g.

 

Olli_2109_1-1750773875395.png

 

 

Does anyone have an idea or a solution for this?

 

Best regards

Oliver

6 REPLIES 6

Hi Sandeep,

 

thanks for your answer.

 

Best regards

Oliver

Community Alums
Not applicable

Hi @Olli_2109,

To expand the list menu by default, follow these steps:

  1. Open the sys_ux_list_menu_config table.

  2. Open the record for the CSM workspace (or the workspace you are configuring).

  3. In the UX List Categories related list, copy the sys_id of the list categories you want to expand by default.

  4. Navigate to User Administration > User Preferences.

  5. Search for/create the "ux.expandedListMenuItems" user preference.

  6. Set the following values:

    • Name: ux.expandedListMenuItems

    • Value: [.........,[sys_id_of_list_category_1], [sys_id_of_list_category_2]] (add the sys_ids you copied earlier)

    • System: True (ensure the checkbox is checked)

    • Type: String

    • User: Leave empty.

  7. Save the record.

MIftikhar_0-1760025304618.png

Once saved, the workspace LIST menu items will open in an expanded state by default.

 

If my response helped, please mark it as the accepted solution so others can benefit as well.