Configuring automatic sorting using column sets (modified in an update) - SmartPlant Foundation - IM Update 48 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

The following applies if you are using a version of the software before Update 46. For the latest instructions, see Manage related items.

To configure automatic sorting, you need to find the column set related to the item you want to configure for automatic sorting in the list view and/or tree view in Desktop Client. Once you have found the column set, you must configure the automatic sorting using the Manage Column Items dialog box in the Desktop Client, which allows you to configure multiple column items by which to sort items.

The two options used for configuring automatic sorting are:

  • Sort Sequence - determines the priority order of the column items to sort on.

  • Sort Order - determines whether to sort by ascending, descending, or none.

Example

This example shows how to configure design documents to automatically sort on revision and version in both the list view and tree view; first sorting on revision in ascending order, and then on version in descending order.

  1. In the Desktop Client, find the design document column sets for the list view and tree view:

    • Click Find > Administration > Column Set, and type *SPFDoc*.

    • Verify the column sets returned by the find are the ones you want to modify:

      • Right-click the SPFDocumentVersion column set, and select Show List View Interface Definitions. This returns the interface definition ISPFDocumentVersion, so we know this is the correct column set to use for the list view sorting.

      • Right-click the SPFDocumentVersionTreeDisplay column set, and select Show Tree View Display Class Definitions. This returns the class definition SPFDesignDocVersion, so we know this is the correct column set to use for the tree view sorting.

  2. Configure the list view column set for automatic sorting:

    • Right-click the SPFDocumentVersion column set, and select Manage Column Items.

    • To sort design documents on revision in ascending order, do the following:

      • Set the Sort Sequence property for the Revision column item to 1.

      • Set the Sort Order property to Ascending.

    • To sort design document revisions on version in descending order, do the following:

      • Set the Sort Sequence property for the Version column item to 2.

      • Set the Sort Order property to Descending.

    • Click OK to save changes.

  3. Configure the tree view column set for automatic sorting:

    • Right-click the SPFDocumentVersionTreeDisplay column set, and select Manage Column Items.

    • To sort design documents on revision in ascending order, do the following:

      • Set the Sort Sequence property for the Revision column item to 1.

      • Set the Sort Order property to Ascending.

    • To sort design document revisions on version in descending order, do the following:

      • Set the Sort Sequence property for the Version column item to 2.

      • Set the Sort Order property to Descending.

    • Click OK to save changes

Automatic sorting in the list view window

  1. Using the Quick Find menu, find all design documents. The find results in the list view window should be automatically sorted according to the configuration.

  2. Right-click a document that has multiple versions, and click Revision Relationship > Show All Versions to expand all versions. The relationship expansion results in the list view window should be automatically sorted according to the configuration.

  3. Right-click a document that has multiple revisions, and click Master Relationship > Show All Revisions to expand all revisions. The relationship expansion results in the list view window should be automatically sorted according to the configuration.

Automatic sorting in the Tree view

  1. Expand the document category in the tree view to display a design document with multiple versions.

  2. Right-click the category, and click Show Classified Item.

  3. Right-click the classified item, and click Revision Relationship > Show All Versions to expand all versions. The versions should be automatically sorted according to the configuration.

  4. Expand the document category in the tree view to display a design document with multiple revisions.

  5. Right-click the category, and click Show Classified Item.

  6. Right-click the classified item, and click Master Relationship > Show All Revisions to expand all revisions. The revisions should be automatically sorted according to the configuration.

    The New Items window will also automatically sort items according to the configuration.

    SPFAutomaticSortingNewItemsWindow

  • If you define custom sorting for list views, users can edit that sorting using the Custom Sort dialog box in the list view. New list views that display items with automatic sorting default back to the administrator-defined sorting.

    To change the custom sort order on a particular list view, right-click the list view column header, and click Sort > Custom Sort. Select the column that you want to change to be ascending or descending, and then click Ascending or Descending to change the sort order. The software immediately applies the change to the list view window.

  • New items that are added to list view windows with automatic sorting using the shortcut menu or a drag-and-drop operation are added to the bottom of the list and the configured automatic sort is removed from the list view window.

    • Select Document category from the tree view. Hold down the Ctrl key, and drag Document category into the All Revisions list view.

    • Right-click the list view column header, and click Sort > Custom Sort. The software removes the configured automatic sorting.