Markup plugins are custom Java classes using the com.volantis.mcs.integration.MarkupPlugin interface.
Markup plugins are not supported by Mobile Portal Accelerator.
Attribute | Description | Type | Default | Options | Use |
---|---|---|---|---|---|
class | The class to be invoked | xs:string | none | required | |
name | The plugin name | xs:string | none | required | |
scope | Determines whether the plugin is initialized and terminated on the start and end of an application, session or canvas generation | xs:token | canvas | application, canvas, session | optional |
<mcs-plugins>
<markup-plugin name="YOUR-PLUGIN-NAME"
class="your.class.Name"
scope="application">
<initialize>
<argument name="NAME1" value="VALUE1"/>
<argument name="NAME2" value="VALUE2"/>
</initialize>
</markup-plugin>
</mcs-plugins>