Documentation Center

BinaryLink

<BinaryLink> returns a link to binary item, if the link can be resolved. <BinaryLink> is used in Dynamic Linking and is for ASP.NET and JSP only.

<BinaryLink> command
LanguageCommand
ASP.NET Server Control<tridion:BinaryLink runat="server">
JSP Custom Tag<tridion:BinaryLink>
Attributes:
Attribute nameDescription
BinaryURIThe Content Manager URI (unique identifier) of the binary item to link to
VariantIDThe ID of the variant of the binary item to link to
AnchorThe name of an anchor to append to the link
LinkTextThe text to display as link text. If left empty, Dynamic link resolving uses the information in a child element of this tag as the clickable item (say, an <img> tag)
LinkAttributesAdditional attributes to add to the link
TextOnFailA Boolean parameter indicating whether to display the link (or a child element, if used) if the link cannot be resolved