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 are some examples of plugins which provide 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 param
element with the name configure.url
within the plugin-info
element at the top of the plugin descriptor:
1 2<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 param
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.
Information sourced from Plugin Framework documentation
Rate this page: