Builds an HTML hyperlink element string and registers the reference into the Active Integrity Management (AIM) system.
Syntax
Smartsite SXML | Copy Code |
---|---|
string html.link(locator url) string html.link(locator url, string text) string html.link(locator url, string text, string alternativeText) string html.link(locator url, string text, string alternativeText, string attributes) string html.link(locator url, string text, string alternativeText, string attributes, enum aim) string html.link(locator url, string text, string alternativeText, string attributes, enum aim, enum aimOptions) |
Parameters
Name | Data Type | Description |
---|---|---|
url | Locator | The URL/string to register. |
text | String | The text to display within the link. |
alternativeText | String | The alternative text to return if the link turns out to be invalid. |
attributes | String | The extra HTML attributes for the link. |
aim | Enum |
The AIM registration type.
Enum values:
|
aimOptions | Enum |
The aim options.
Enum values:
|
Return Value
Data Type | Description |
---|---|
String | An HTML hyperlink element string. |