Access PML Global Entities from within Intelligent Text
- Last UpdatedJan 15, 2024
- 1 minute read
The #PML() keyword allows access to global PML entities. It takes a PML expression as its argument, evaluates it and converts the result to a string which is inserted into the expanded intelligent text.
The context of the PML expression is normally the annotation, for example, the label or text primitive. It is therefore necessary to navigate to the model element (for example, via the DDNM attribute on a label) within the pml function or expression. For intelligent tables, the context is already the cell's model element (DEXREF) and navigation to the model element is not necessary. This functionality makes the creation of tables containing PML expressions more intuitive when using the report builder.
Note:
It is not recommended to access global forms in this way.