Raw XML Module Built-In Script
Find information on working around XML limitations here.
All of the built-in scripts produce XML that is similar, but not interchangeable with, XML found in theplugin descriptor. You will notice that, for usability reasons, the forms do not include all the possible configuration elements available in plugins. For example, the web item script does not give you the option to provide a tooltip for the web item link, a velocity context provider, or an icon URL.
You can work around this limitation by using RawXML Module Item by following these steps:
Example
If you wanted to show a Google button with a tooltip that only shows on personal Confluence spaces, follow these steps:
- Fill out the custom web item form.
- Copy the XML.
- Fill out the raw XML module form:
This is how the button and tooltip will appear in your Confluence instance: