Define a property
You can create and define a property within a model group hierarchy.
About this task
To define a property:
Procedure
- Navigate to and select the location in the
model group hierarchy where you want to create the property.
See Access the Sterling Configurator Visual Modeler for information on how to navigate the model group hierarchy.
This is important since where you create the property determines what objects in the hierarchy can use the property.
- When you reach the appropriate level, click the Properties tab.
- If you are working in a model, then within the Properties tab, click the Define tab.
- Enter a name for the property Note: Do not begin a property name with "UI:" or "CONFIG". Do not include a period (.) in a property name.
- Select a property type from the drop-down
list.
- Number: use this for any property whose value is determined by a number. For example, the weight of an item could be expressed as a real number of grams (including decimals).
- String: use this for any property
that is expressed as a word or phrase. For example, you can use a
string-valued property to indicate the color of an option item.
If you select this type, then the Localize field is enabled. If you check this box, then you can enter values for this property in any of the supported locales. In other words, if you enter the original value in English, then you can change the system locale to German and then modify the property's value in German. The German value will appear for those users whose locale is German; the English value will appear for those users whose locale is English.
- List: use this for any property where the value of the property must be selected from a list. For example, the availability of an item might be limited to specifying one or more days of the week. You can capture this in the form of a property by defining a list called "Weekdays" whose values are Sunday, Monday, and so on, concluding with Saturday.
- Date: use this property for any property that uses date value. For example, the start date and the end date.
- If
applicable, define a default value that this property takes. You can
override this value when you apply the property to an item or class.
If you selected "List" as the property type, then the Value field displays a drop-down selection of the current lists available. Select a list. See Define a list for information about creating lists.
- Click Add.
The new property appears in the boxes below the fields.
- Click Save All Changes to save the new property.