Metadata
Last updated
Last updated
Metadata are properties of items that cannot be changed by the end user which may be used within the system for:
Enhancing user experiences
Allow the properties of a product to manipulate the visuals
Open the catalog item and enter the edit mode.
Locate the Metadata Window and click "Add Metadata"
Select either "String" or "Number"
Naming Metadata
When naming your metadata be sure to avoid operator, precedence, and delimiter-style characters such as: , . “ ‘ ? ; : & * ( ) - = _ + [ ] \ { } | ( ) # @ ! < >
String metadata allows for alphanumeric characters as well as special characters in the "Value" field.
Number metadata only allows numeric characters in the "Value" field.
NOTE:
At this time, all metadata is "Local."
In the catalog, metadata may be used for selecting which part referenced items are modified by a rule.
Create a new rule
Add a condition using a part reference attribute where the items referenced contain metadata.
Select "metadata" from the dropdown.
Click "+ parameter."
Type in the name of the metadata on the part reference.
Select an appropriate operator.
Type in the desired value.
This action allows metadata information to be passed from part referenced items into attribute values in a higher level configurator.
Create a new rule
Add an action of "set attribute value."
Select the attribute that will change values
Select "metadata" from the dropdown.
Select "item"
Type in the name of the metadata
Metadata values are case sensitive. Be sure to check the name if your rule does not behave as expected.
In the catalog item AND asset editor, ensure an attribute (global attributes are recommended) exists for each component to be adjusted based on metadata.
In the asset editor rules tab, select a condition for the attribute with a type of "metadata" and select whether the metadata exists on the item or the asset.
Click "Parameter" to list which metadata will be utilized.
Click the + icon for each action and select the type of value you wish to modify.
Multiple values may be modified on a single rule. For example, the camera, visibility of stage props, and lighting may be modified based upon item size metadata.