link linkRef description

Available for: Content Management Server, Template Engine

Task: Returns a string representation of the data of the link linkId.

Additional information: The format of the string representation is the property list format of a dictionary.

Syntax:

link withId linkId description

Function parameters: none

Return value if successful: representation of the link (string)

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

Example:

CM>link withId 4273.9.1 description
{
  destination = 6518;
  destinationUrl = /index.html;
  displayTitle = untitled;
  id = 4273.9.1;
  isComplete = 1;
  isContextLink = 0;
  isExternalLink = 0;
  isIncludeLink = 0;
  isInlineReferenceLink = 0;
  isFreeLink = 1;
  isWritable = 1;
  source = 2012;
  sourceContent = 2012.7;
  target = "_new";
}