Skip to main content
Home  ›  Docs › Feature

Token Fallback to use Default Values

Warning ⚠️: New Docs Available

These are old docs and we haven't found the time to completely move them. You will find comprehensive new docs on docs.2sxc.org.

Introduced in Version 06.00.00

This is very simple. If you expect a token like

  • [QueryString:Category]
  • [Content:LastName]

You can then add two pipe signs || and write the default-value if the previous token ended up being empty - like this

  • [QueryString:Category||Design]
  • [Content:LastName||Last name unknown]

This can also be used with Stacking Tokens for multi-language fallbacks and advanced queries. 

Tags for this feature
new in 6.x Token Query (Data/Visual)