Combined metafields
If you need a combination of metafields to be shown in document, use combined metafields. The user does not see the combined metadata field in the Kameleon dialog. It is generated in the background.
Example:
You want to create a metafield that is a combination of department and authorname and use it in the footer of PowerPoint presentation.
Add metafields department and authorname to a metagroup
Add combined metafield e.g. footertext
Creating a combined metafield
Create new meta field, and set Field type to Combined Meta groups
Specify the combined field format.
Format
Insert metafield placeholders into the Format field using the … button on the right, or type field names inside {{}}. You can also include static text between placeholders.
Examples
Basic formatting example
{{authordepartment}} / {{authorname}} → Human Resources / John Smith
Conditional formatting examples
Conditionally render authordepartment and static text after if authordepartment has value. See https://shopify.github.io/liquid/tags/control-flow/
{% if authordepartment %}{{authordepartment}} / {% endif %}{{authorname}} → Human Resources / John Smith
{% if authordepartment %}{{authordepartment}}{% if authorname %} / {% endif %}{% endif %}{{authorname}} → Human Resources / John Smith
Prefix for optional value example
Conditionally format value to have prefix.
{% if email %}Email: {{email}}{% endif %} → Email: person@kameleon.app
{% if email %}{{terms.email}}: {{email}}{% endif %} → Email: person@kameleon.app in English documents or Sähköposti: person@kameleon.app in Finnish documents.