A plugin can present configurable settings to Atlassian instance administrators. This is useful where your plugin requires configuration or user-specific settings to work.
Here is an example of a plugin which provides a configuration UI:
In Configuring the Plugin Descriptor, we tell you how to create the XML descriptor file for your plugin. In Plugin Modules, we tell you how to define the modules within your plugin. Below is information on defining the links to the configuration UI for your plugin.
To add a configuration link for your plugin as a whole, place a single element with the name within the element at the top of the plugin descriptor:
<plugin-info> <description>A macro which displays Google maps within a Confluence page.</description> <vendor name="Atlassian Software Systems Pty Ltd" url="http://www.atlassian.com/"/> <version>0.1</version> <param name="configure.url">/admin/plugins/gmaps/configurePlugin.action</param> </plugin-info>
This element causes a button with the Configure label to appear in the details view for the plugin in the 'Manage Add-ons' page. The URL value identifies the page the contains the configuration form. For more information about implementing a configuration UI, see the Creating an Admin Configuration Form tutorial.
Rate this page: