Create lists for a workspace in Workspace Builder
Create list categories in Workspace Builder to add pages that list table records. You can add filter conditions and change columns to create variations on the list.
始める前に
- admin or Guided Application Creator for ServiceNow Studio.
- sn_app_eng_studio.user or delegated_developer for AES. For more information, see Delegate developers using AES.
このタスクについて
-
You can launch and view workspaces in Workspace Builder as well. However, you can only edit workspaces created through ServiceNow Studio and App Engine Studio within those specific platforms only.
- If you remove the list page/route, you must use UI Builder to edit the workspace, not Workspace Builder.
手順
-
Navigate to Workspace Builder.
For details on how to open Workspace Builder in ServiceNow Studio or AES, see Accessing Workspace Builder.
-
If they aren't already activated, activate lists to enable them for the workspace.
You must be in the Navigation configuration tab. If you're already in the Navigation configuration tab, you can't select it.
- In the navigation panel, select List.
- In the list, select Task > Open.
- In the configuration panel, select the Activate list option.
-
Add a list category.
-
In the navigation panel, select Add list category.
If the table associated with the workspace isn't a core table, you must add new list categories.
-
On the form, fill in the fields.
表 : 1. List category settings Field Definition Name Name to identify the list category. Description Brief description of the contents of the list category to help developers understand the purpose. 注:Workspace users don't see the description. - Select Add.
-
In the navigation panel, select Add list category.
- オプション: To rearrange the order in which list categories appear, drag them to a new position.
-
Add a filtered list to a list category.
For example, in the list category for the Task table, you could create separate filtered lists for Opened, Unassigned, and Closed tasks.
- In the navigation panel, expand the list category you want to create a filtered list for.
- Select Add filtered list.
-
On the form, fill in the fields.
表 : 2. Filtered list settings Field Definition Name Name to identify the filtered list. Table Table that contains the subset of records that appear in the filtered list.You can select from two sections: Tables that are already available in your app, and all tables outside the app scope. - Select Add.
The preview canvas displays the contents of the filtered list. -
Refine how the filtered list displays its content by adding filter conditions to narrow what it displays.
You can make additional configurations to the filtered list.
- In the navigation panel, select the filtered list to edit.
-
In the configuration panel, specify the additional settings.
表 : 3. More filtered list settings Field Definition Activate list Option to enable users to work with the filtered list. Manage columns Option to select and arrange the columns that appear. In the Manage columns dialog box, move columns from Available columns to Selected columns, drag to rearrange the columns, and select Apply.
You can select a field on a related table by dot-walking to it. For more information, see Dot-walking to data in related tables.
Apply conditions Option to add a filter condition to the list. In the dialog box that appears, you can do the following: - To apply a predefined filter, select Use existing filter and search for the filter.
- To view existing conditions, expand the Filter overview section.
- To create a filter condition, use the condition builder. For more information on building conditions, see Condition builder.
- To change the sort order of the filtered results, expand the Sort by section and make changes.
- To save the filter condition that you created for reuse, select Save filter.
When you're done creating the filter condition, select Apply filter.
For more information on working with filters for lists, see Filters.
- Select Apply filter.
- In the configuration panel, select Save.
-
Complete any additional actions on the list.
オプション 説明 Edit a list category - In the navigation panel, select the list category.
- In the configuration panel, specify its List category settings.
- Select Save.
Change how the filtered list appears by selecting the list in the navigation panel - In the configuration panel, select Manage columns.
- In the form that appears, move columns from Available columns to Selected columns, drag to rearrange the columns, and select OK.
- Refresh the canvas preview by selecting the refresh icon (
) in the canvas header.
Delete a list category - In the navigation panel, select the list category.
- In the configuration panel, select Delete list category.
- In the confirmation dialog, select Delete.
Delete a filtered list - In the navigation panel, select the filtered list.
- In the configuration panel, select Delete filtered list.
- In the confirmation dialog, select Delete.