Case Meta Information
ADX allows you to access all the meta information available about a case. There are two ways to access these:
CASE
Instance
CASE
InstanceUsing CASE
you can access all the meta information available in RuLa.
META dictionary
A special dictionary META is supplied to the Jinja template engine that contains. information about the rendering process. You access those with for example
<text>{{META.language}}</text>
<text>{{META.editable}}</text>
<text>{{META.rendered_at}}</text>
language
The language key of the requested rendering language, e.g. de
or en
editable
A boolean wether the document is rendered as editable or not
rendered_at
A django timezoned datetime object that represents the time of rendering. You can e.g. display the ISO 8601 time of rendering with META.rendered_at.isoformat()
.
Last updated
Was this helpful?