OpenWGA 7.0 - TMLScript reference
DesignMethod :
plugin()
On object | Design |
Usage | Returns the Plugin object for the OpenWGA plugin that provides the current design |
Description |
If the design originates from a plugin returns the Plugin object of the plugin providing the design. This always returns the base design of the application in case the design is customizable. In order to also retrieve overlay design plugins you need to use plugins(). |
Return value | A Plugin object with information about the design provider plugin or null if the current design does not originate from a plugin |
Allowed in script types |
|
Examples |
A script code that returns the id of the plugin from which the current design originates: This design is provided by OpenWGA Plugin: <tml:script expression="WGA.design().plugin().id"/> |