Skip to main content
All CollectionsEmail toolDynamic Assets
Dynamic Assets: Placeholder Examples
Dynamic Assets: Placeholder Examples
Räftegård, Elin avatar
Written by Räftegård, Elin
Updated over a year ago

Dynamic Assets: Placeholder Examples

In this article we'll guide you through different ways to set up a Dynamic asset, which placeholders you can use and how to make the most out of them to insert content from your external source.


In this Article


Separate Rows for each Hotel

These are the placeholders that we're going to work with to achieve the desired result:

  • ##{{title}}

  • ##{{description}}

  • ##{{imageUrl}}

  • ##{{url}} (To use this placeholder in the Book Now button, we selected "Feed Property" as Link type in the Link Settings)

And this is how it would look when set up while creating an Asset:


Hotels in separate Rows, with first Review

These are the placeholders that we're going to work with to achieve the desired result:

  • ##{{title}}

  • ##{{description}}

  • ##{{imageUrl}}

  • ##{{url}} (To use this placeholder in the Book Now button,
    we selected "Feed Property" as Link type in the Link Settings)

  • ##{{reviews.0.comment}} (A placeholder like propertyA.N.propertyB can be used to point to properties inside nested arrays, with the N count starting on 0)

And this is how it would look when set up while creating an Asset:


Four Hotels divided into two Rows

Here is an example of four hotels divided into two Rows, with two hotels in each Row.

These are the placeholders that we're going to work with to achieve the desired result:

  • ##{{seq:1.title}}

  • ##{{seq:1.description}}

  • ##{{seq:1.url}} (To use this placeholder in the Book Now button, we selected Feed Property as Link type in the Link Settings)

  • ##{{seq:1.imageUrl}}

  • ##{{seq:2.title}}

  • ##{{seq:2.description}}

  • ##{{seq:2.url}} (To use this placeholder in the Book Now button,
    we selected "Feed Property" as Link type in the Link Settings)

  • ##{{seq:2.imageUrl}}

For this Asset, we used sequence placeholders. Read more about placeholder types in this article.

And this is how it would look when set up while creating an Asset:

In the Asset's Loop Settings, we ticked the Use root level items checkbox. Read more about the Loop Settings in the Creating Dynamic asset article.


Hotels in separate Rows with several Reviews

These are the placeholders that we're going to work with to achieve the desired result:

  • ##{{title}}

  • ##{{description}}

  • ##{{imageUrl}}

  • ##{{url}} (To use this placeholder in the Book Now button,
    we selected "Feed Property" as Link type in the Link Settings)

  • ##{{seq.rating}} (This placeholder is in its own Row, where we create a sequence of only the review property in our file)

  • ##{{seq.comment}} (A sequence placeholder without a sequence number can be used if there is only one item per Row)

And this is how it would look when set up while creating an Asset:

For the reviews Row, we adjusted the Loop Settings by entering review in the Property input field. Read more about the Loop Settings in the Creating Dynamic asset article.


Hotels with their first two Rooms

These are the placeholders that we're going to work with to achieve the desired result:

  • ##{{title}}

  • ##{{description}}

  • ##{{imageUrl}}

  • ##{{url}} (To use this placeholder in the Book Now button,
    we selected "Feed Property" as Link type in the Link Settings)

The following placeholders are in a separate Row, where we create a sequence of only the rooms property in our file:

  • ##{{seq:1.name}}

  • ##{{seq:1.prize}}

  • ##{{seq:2.name}}

  • ##{{seq:2.prize}}

For the rooms Row, we adjusted the Loop Settings by entering rooms in the Property input field and 2 under Number of items. Read more about the Loop Settings in the Creating Dynamic asset article.


Next Step

Did this answer your question?