How to Create Drop Down list on EC Property in OpenPlant PID


  
 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

  1. Launch class editor and load OpenPlant schema.
  2. Go to DOCUMENT class and locate STATUS property on properties list.
  3. Change the property type from String to Int.

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

  9. Add the values as shown below.

  10. Save the changes in schema.

Verify the Result

  1. Launch OPPID and open a drawing.
  2. Open PID Document dialog and check the Status field. It will have a drop down list.

See Video

communities.bentley.com/.../273207