Link
<Link> generates code for a link to a Component, Multimedia Component, or Page. <Link> is used in Dynamic Linking and is for TCDL only.
<Link>-
Language Command TCDL <tcdl:Link> - Attributes:
-
Attribute name Description typeThe type of link: Component,BinaryorPageoriginThe Content Manager URI (unique identifier) of the object (usually a Page) that is the source of the link. This attribute is only used, and always used, if typeis set toComponent.destinationThe Content Manager URI of the object that the link points to templateURIThe Content Manager URI of the Template that should not be used in the link target (only used if typeis set toComponent)linkAttributesA free-form attribute whose contents are added as an attribute string to the resulting <a>elementtextOnFailA Boolean: trueif the link text should be displayed even if the link is dead,falseif a dead link means removing the link text.addAnchorOne of the following:
- If
typeis set toComponent: a Boolean, set totrueif the link should include an anchor (also known as bookmark) pointing to a specific location on the published Web page,falseif it should not. - If
typeis set toPageorBinary: a string indicating the actual anchor value to add to the URL.
VariantIdIf typeis set toBinaryand if the binary item being linked to has multiple variants (for example, a thumbnail image and a full-size high-resolution image), this optional attribute contains the unique identifier of the specific variant of the binary item to link to - If