Frameworks
Integrations
Mendix
SharePoint
Modular UI
Legacy UI
AnnotationManager
Annotation Types
Customize
Version 11
Version 10
v10.12
v10.11
v10.10
v10.9
v10.8
v10.7
v10.6
v10.5
v10.4
v10.3
v10.2
v10.1
v10.0
Version 8
v8.12
v8.11
v8.10
v8.9
v8.8
v8.7
v8.6
v8.5
v8.4
v8.3
v8.2
v8.1
v8.0
Version 7
Version 6
v6.3
v6.2
v6.1
v6.0
Version 5
Version 4
Version 3
Version 2
WebViewer Server
WebViewer BIM
This is a collection of advanced features for office templates. See here for an overview of basic features and the data model.
In both the cases where a loop is given a json value of []
and a conditional is given a json value of false
, the body is entirely removed. If the loop/conditional construct was the only thing in it's parent element, it will also remove the parent element.
For example, if an empty loop is the only text in a paragraph, the paragraph will be removed and the proceeding content will be moved up. Another example is an empty row loop, the row itself will be removed.
If this behavior is not desired, a possible workaround is to add a single space character outside of the loop/conditional.
By default, keys are "unspecified scope". Their value is taken dynamically from the most-specific (tightest) loop that contains that key.
For example, a loop{{loop arr}} {{key}} {{endloop}}
with the JSON data
Will result in *local *global
.
In order to restrict a template tag to use values from a specific loop, you can specify a scope: {{arr::key}}
. The top-level global scope is {{::key}}
and in a nested loop you can have a nested scope: {{outer::inner::key}}
.`
This is an alternative to table row loops, which should be preferred in most cases.
Table row insertion values are JSON objects, and can only serve as the value for a template key that is in the first row of a table. They have the following required properties:
insert_rows
: [array of arrays] An array of rows, representing the content to be added. If a table had 3 columns and you wanted to insert two rows within it, insert_rows
would expect an array containing two arrays of three items each. The items within the three-member row arrays would be any allowed template value, such as text or an image.Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales