
| | | |
| Applies To | | |
| | | |
| Product(s): | OpenPlant PID | |
| Version(s): | 08.11.10.XXX | |
| Environment: | Windows 7 64 bit | |
| Area: | Customization | |
| Subarea: | | |
| Original Author: | Harpreet Singh, Bentley Technical Support Group | |
| | | |
Description
When there are multiple values for a particular property then it is easier for admin to pre-define the values for the users to choose from the list. In order to do that a drop down needs to be created on the property. This article will explain what steps are required to create a drop down list on a property in OPPID.
In this example I will take STATUS property on DOCUMENT class.
Steps to Accomplish
- Launch class editor and load OpenPlant schema.
- Go to DOCUMENT class and locate STATUS property on properties list.
- Change the property type from String to Int.

- Save the changes and close the schema.
- Now load the OpenPlant_PID schema and supplement it with OpenPlant_PID_Supplemental_Imperial schema.
- Go to PID_DOCUMENT class and locate STATUS property.
- Add Standard Values custom attribute on it.
- Right click on Value Map field and select 'Add Element'.

- Add the values as shown below.

- Save the changes in schema.
Verify the Result
- Launch OPPID and open a drawing.
- Open PID Document dialog and check the Status field. It will have a drop down list.

See Video
communities.bentley.com/.../273207