A domain list can have multiple columns. For example, col1 might contain an abbreviation while col2 contains the complete description. In this example, a polygon feature named LandUse has two properties: Code and Description.
During placement, the property watcher adjusts the Description field when the Land Use Code is selected. Since the Description is dependent upon the Land use Code, it’s set to read-only to prevent accidental changes.
communities.bentley.com/.../Property-Watcher-on-Column2.mp4f
The following describes how a property watcher is used to define the value for the Description field.
The LandUseCode domain list has two columns, one for a numerical value and the other for the description:
A combo box property is added to the LandUse feature that points to the LandUseCode domain list.
A property named Description is added to the feature and set to Read Only.
A property watcher is then added to the Code via the right click menu.
This action adds a Define Property Watchers tab to the property definition which has the following details:
- An explanatory name is given
- The Type is set to CurrentListLookup
- The feature is set to LandUse
- The Property to change is set to Description
This instructs OpenCities Map to set the Description property of the LandUse feature to col2.
A sample schema has been provided for your learning.
communities.bentley.com/.../Property-Watcher-for-Col2.zip