link linkRef set

Available for: Content Management Server, Template Engine

Task: Sets the specified link parameters of the link linkid to the specified values. The link must be contained in a draft version.

Syntax:

link withId linkid set {paramName value}

Function parameters:

  • paramName specifies the name of the link parameter whose value is to be set.
  • value is the value of the link parameter to be set.

Return value if successful: none

Necessary permissions (CM only): The user must be the editor of the file in whose draft version the link is defined in. A user must have the permissionWrite permission for a file of which he wants to become the editor.

Example:

CM>link withId 2084.4.13 set title {Main Page}