Partials

Partials use a simple tag and a > prefix. Use partials to pull in external content at runtime. All partials include one of three identifiers for content stored in the Portfolio for your account:

IdentifierDescription
KeyString value identifying key for content, such as Key
IDString value identifying ID for content, such as ID:348021
NameString value identifying file path for content, such as mycontent/descriptions/mens/shoes

Partials accept an optional string parameter identifying content as originating in Portfolio or Content Builder:

  • Portfolio (Default)
  • Content Builder

If the template cannot match any of those identifiers, it inserts a blank during rendering.

Partials insert content into a template when a message publishes. You can force the content to refresh again at send time using the optional refresh tag.

To return the results of a variable, use the var: prefix. This prefix treats the value of the variable as stored content and link wraps the results as applicable.

To syndicate content from an external web page during rendering, use the get: prefix and insert the applicable URL.

Include an optional static tag to apply the content at the message level and not per each recipient.

If you do not include a prefix in the template (aside from the > character), Guide uses these rules to locate content:

  1. Uses the data field within the data context as indicated by the identifier.
  2. Uses content syndication to pull in the applicable content as indicated by the URL identifier.
  3. Uses stored content as indicated by the key, id, name in the identifier.
  4. If Guide cannot match any value, it replaces the template with a blank.