#meta
This object is valid only within snippet definitions. |
The #meta system object can be used within the snippet definitions to output the content of metadata that has been defined directly on the corresponding element.
The individual input components are output from the metadata via
#meta.IDENTIFIER
Example:
if(isSet(#meta) && #meta.md_text != null,#meta.md_text)
delivers the content of the md_text input component from the metadata belonging to the element for which the snippet is valid.
If no metadata has been defined on the element or there is no metadata available for the element type (e.g., datasets), then null is returned.