Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Boolean example

Value:Ā ASSET_LIST_FACET_Published

Text: {value, select, 1 {YourTrueText} 0 {YourFalseText}}

Another example

Value: sIsPublic

Text: Shareable and downloadable

Value: ASSET_LIST_FACET_sIsPublic

Text: {value, select, 1 {Yes} 0 {No}}

Debugging

If you are getting blank values - you can add this to find out what is missing. Alternatively, you can also just check the console log.

Text: other {{value}}