link withId linkId get paramName

Task: Returns the value of the paramName link parameter for linkId.

Syntax:

link linkRef get

Function parameters:

  • paramName specifies the name of the link parameter whose value is being searched for.

Return value if successful: the value of the specified link parameter (string)

Necessary permissions: The user must have the permissionRead permission for the file in which the link is defined.

Example:

CM>link withId 4273.4.9 get destinationUrl
/index.html