It's possible to use the Page Properties Macro to define customized placeholders in your exports.
To use page properties as placeholders:
-
Open the root page of your exports.
-
Insert a page properties macro to your page and a two-column key-value table.
-
Save the page.
-
Open your template and insert the placeholder in the following pattern:$pageProperty.from("User")
This placeholder will be replaced with the corresponding value stored in the content properties macro for the key with name "User". -
If you have multiple page property macros on your root page, you have to assign an ID to the macros and refer to this ID in your template.
For example:$pageProperty.from("User", "123")
This placeholder will be replaced with the corresponding value stored in the content properties macro with ID 123.