Allows you to load any Web Link Set by name or ID.

If the web link set exists, a web link set object will be returned. If a web link set with the given name or ID is not found, null will be returned.

<!-- Load web link set by ID -->
{{ weblinks[page.adx_navigation.id].name }}

<!-- Load web link set by name -->
{% assign nav = weblinks["Primary Navigation"] %}
{% if nav %}
<h1>{{ nav.title | escape }}</h1>
<ul>
{% for link in nav.weblinks %}
<li>
<a href="{{ link.url | escape }}" title="{{ link.tooltip | escape }}">
{% if link.image %}
<img src="{{ link.image.url | escape }}" alt="{{ link.image.alternate_text | escape }}" />
{% endif %}
{{ link.name | escape }}
</a>
</li>
{% endfor %}
</ul>
{% endif %}

Web Link Set Attributes

copy

The HTML copy of the web link set.

name

The name of the web link set.

title

The title of the web link set.

weblinks

The array of web link objects associated with the web link set.

[attribute logical name]

You can access any attribute of the web link set CRM record by logical name.

e.g. {{ weblinkset.createdon }}

Web Link Image Attributes

alternate_text

Alternate text for the image.

height

Integer containing the specified height of the image. If no height value was provided, this attribute will be null.

url

The URL of the image.

width

Integer containing the specified wdith of the image. If no width value was provided, this attribute will be null.