Disabling enumerated entries - 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)

You can now suppress the enum and UoM values that can be used with Desktop Client forms, such as Create and Update, by setting the EnumIsDisabled property to True on an enum or UoM object. The property EnumIsDisabled is supported on any enum or UoM object.

The EnumIsDisabled property definition is Boolean-scoped and exposed by the IEnumEnum interface. In turn, the IEnumEnum interface is realized by four class definitions: DiscreteUoM, EnumEnum, EnumListType, and UoMEnum.

  • You can view any enums that need to be disabled in a List Edit view and then set the EnumIsDisabled property. However, a condition on the List Edit method prevents you from disabling enums or UoMs that have a container ID of Core.EFSchema; this is to ensure that the CMF schema file cannot get out of synchronization with the database.

  • The Loader ignores the EnumIsDisabled property when loading objects and data. Therefore, disabled enums and UoMs will be loaded into the database through the loader. For more information about when these disabled entries will appear or be suppressed, see Using EnumIsDisabled with forms.