Adds an item reference to the AIM references collection.
Syntax
Smartsite SXML | Copy Code |
---|---|
aim.relations.add(locator reference) aim.relations.add(locator reference, enum aim, enum aimOptions) aim.relations.add(locator reference, boolean hardLink) aim.relations.add(locator reference, boolean hardLink, boolean autonomous) |
Parameters
Name | Data Type | Description |
---|---|---|
reference | Locator | The reference. |
aim | Enum |
The AIM registration type.
Enum values:
|
aimOptions | Enum |
The aim options.
Enum values:
|
hardLink | Boolean | If set to true [hard link]. |
autonomous | Boolean |
If set to true, the AIM registration is set to autonomous, meaning it will only be registered if the statement resides in the rendered item, not a dependency such as a translation. |
Return Value
None.