You can configure additional properties for the Asset Interface System (AIS) and use them in automatic actions, as well as in other APIs.
Procedure
- Open the desc.xml file.
- Add an entry according to the following template:
<ais_property name="property name" inheritance="inheritance type" type="property type">
<option value="option1"/>
<option value="option2"/>
</ais_property>
In this case:
| Property | Description |
|---|
name | The name of the property. |
inheritance | The inheritance type:
not inherited: The property value set on a node is not inherited by its children.
inherited: The property value set on a node is inherited by its children, unless a child's explicit value overrides it.
inherited with path: The property value is appended to an AIS path for every child.
|
type | The type of the property:
text: Can contain any appropriate text.
selector: The value may be one of the option values you specify.
|
option value | Predefined values for the selector type attribute. |
Note: You can define multiple AIS properties by adding multiple entries. You must add all the entries within the <components> tags of the desc.xml file.
Sample AIS property entry
<components>
<!-- Illustrates how to create an AIS property using the component descriptor file -->
<ais_property name="My first AIS property" inheritance="inherited" type="selector">
<option value="My first value"/>
<option value="My second value"/>
</ais_property>
</components>