Templating Techniques for Web-pages
You can use Templating in the following components of the Directual web-page builder:
Connecting API-endpoint and turning on Templating engine
To use data or global variables in your component, enable this feature in the component settings:

Applying Templating for component content
Global variables
Apply it in the same way as in scenarios.
WebUser fields
URL parameters
URL parameters used for subpages may also be displayed in components
Objects from API-endpoint. Dealing with the first object β contentHead
contentHeadIf you connect API-endpoint, you can deal with objects it provides.
Objects from API-endpoint. Dealing with a list of objects β content
contentHandling arrayLink
The principle is similar to the one used for scenarios
Handling booleans
Similar to Templating in scenarios
Last updated
Was this helpful?