ViewProperty properties
The ViewProperty model defines a set of properties that characterizes an EntityView property. The ViewProperty properties define what to display, and provides hints allowing the user interface to choose the appropriate control for the display of EntityView properties in the user interface.
Any Commerce plugin can influence what data is returned by adding, removing, or modifying properties before the view is returned.
The following table describes ViewProperty properties:
|
Property |
Description |
|
|
The common name of the view property. This can be shared among views and is used to localize the |
|
|
The localized name of the property. By default, the property is not localized and its value is the same as the |
|
|
The value of the property, typically a raw value and its formatting. |
|
|
Direct value from the mapping with no formatting. The value is formatted using policy-based formatting (string). |
|
|
The value of the |
|
|
Indicates whether the view property is displayed or not in the user interface. |
|
|
Indicates whether the view property is read only or requires a set value. |
|
|
Controls how the property is rendered inside the view. The following UI types are used to render default views in the Business Tools: If not specified, then the property field value is rendered as simple text. |
|
|
Indicates whether the property is mandatory. |
|
|
Contains any constraints, closed vocabularies, and so on, as policies for actions (string). |