Setting the Scope data sort order

Information in the Scope drop-down boxes can be sorted in different ways, depending on the type of data that is returned, or what purpose the drop-down will serve. The following steps will help walk you through how to set the sort order.

Scope sort order example

The following screenshot gives an example of what ordered information in a Scope can look like.

In this example, the data in the Products drop-down has been ordered alphabetically, in ascending order:

Scope sort order example

How to configure the sort order for the data in Scopes

Continuing on the previous example, the following steps will show how to configure the sort order for the Products Scope, in a custom version of the Install Summary data view. These instructions are following an example using a custom data view, so only directly apply here.

Edit Scopes in the Data view structure

  1. Open the desired data view by navigating to Admin >> Data View Management section in Asset Vision (refer to Data View Management in the Asset Vision Help for more information on working with data views). In the case of our example, we are using a custom data view called Cascading Scopes Demo - Install Summary, which was selected in the Data Views tree on the left-hand side.
  2. In the Structure view of the selected data view, click the Edit Structure button. This will load the Data view structure dialog.
  3. Click the Scopes tab.
Edit Scopes in the Data view structure

Select the Products Scope

1.  Click the Edit button (pencil icon) for the Products Scope.

Select the Products Scope

2.  In the Edit Scope dialog, click the Reference Config button.

In the Edit Scope Reference Attributes dialog:

3.  select the drop-down in the Order By Field and choose the option for which you would like the Scope data ordered. In this case, the "Name" field was selected.

4.  select the Order By Field: ASC (Ascending) or DESC (Descending).

Click Close when complete.

After all of these are configured, click Save on each of the dialogs to save the Scope settings.