Quantcast
Channel: OpenCities Map Wiki
Viewing all articles
Browse latest Browse all 1284

- Property Watcher to read Col2 of a Domain List

$
0
0
Current Revision posted to OpenCities Map Wiki by Nelson Hobdell on 1/3/2023 11:49:27 PM

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

Tags: Geospatial Administrator

Viewing all articles
Browse latest Browse all 1284

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>