Display Content

You can use content from CMS wherever you want in your business processes. In most Axon Ivy Script editors there is a smart button available which generates the correct code for you. To access the CMS you can use the variable ivy.cms.

Content

You can load the content with ivy.cm.co and use it for example as a label in your user dialog or as text in your mail. The language-specific value is loaded according to the content resolution principle.

Example ivy.cm.co("/labels/birthday")

If you want to load the content of a specific locale or you want to replace templates then you can use the advanced API:

ivy.cm.content("/labels/birthday")
  .locale("en")
  .replace("amount", "4")
  .get();