Builds a locator and registers the reference into the Active Integrity Management (AIM) system.

Syntax

Smartsite SXML CopyCode image Copy Code
locator html.location(locator location)
locator html.location(locator location, enum aim)
locator html.location(locator location, enum aim, enum aimOptions)

Parameters

Name Data Type Description
location Locator The location.
aim Enum The AIM registration type.
Enum values:
  • Off
    No AIM scan.
  • Normal
    Automatically determine the source, meaning that relations are added to the actual rendered page being rendered.
  • Autonomous
    Forces Autonomous registration of the relation as a relation of the source item itself, even if the source is a Translation or a RenderTemplate.
aimOptions Enum The aim options.
Enum values:
  • Auto
    Automatic determine AIM link type.
  • Softlink
    Soft link.
  • Hardlink
    Hard link.

Return Value

Data Type Description
Locator Locator.

Expand image Remarks

Expand image AIM

Expand image Example

SXML