Making an enumerated list expandable - SmartPlant Foundation - IM Update 46 - 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)

By default, enumerated lists contain a defined list of EnumEnums that are available to be selected from a list in the Desktop Client when the list is used to define a display item on a form. However, by changing a property on the list in the schema, you can allow users to provide new values in the list directly in the GUI, without adding the new EnumEnum to the list in the schema. Enumerated lists that can be expanded in this way are sometimes called open-ended lists or learning picklists.

The following steps explain how to convert a standard enumerated list into a learning picklist in the GUI.

  1. Use the Find > Schema > Enumerated List Type command to find the picklist that you want to convert.

  2. View the details of that enumerated list, and find the Container ID, which is the schema file that contains the list and its EnumEnums.

  3. Open the Schema Editor, and open the appropriate schema file for editing.

    If the file you want to edit has dependencies, open the additional required schema files. For more information about editing schema files, refer to Extending the SmartPlant Schema.

  4. Find the enumerated list, right-click it, and click Edit.

  5. On the Edit Enumerated List dialog box, select the Properties tab.

  6. From the Category list, click Property Type.

  7. Find the Is List Open-Ended option, click the browse button beside the box, and click True.

  8. Save the changes to the schema file, and close the Schema Editor.

  9. In the Desktop Client, use the Schema Import Wizard to load the information in the updated schema file into the database.

Once the property on the enumerated list has been updated and the schema change has been loaded, you can type new values into display items that use this enumerated list, and the new value is saved to the database as an EnumEnum within that list.