This reference describes the elements and attributes that make up a plugin's configuration XML file.
<plugin> <!-- The following in any order. --> <class> <name> <description> <author> <authorURL> <pluginURL> <version> <minServerVersion> <maxServerVersion> <databaseKey> <databaseVersion> <components> <css> <javascript> <soy> <widget> <macro> <urlmapping> <sitemesh> </plugin>
The name of the invidual or company that created this plugin.
<author>xs:string</author>
URL location relating to the author, such as the author's web site.
<authorURL>xs:string</authorURL>
The name of the class that implements com.jivesoftware.base.plugin.Plugin for this plugin.
<class>xs:string</class>
Specifies user interface components added by this plugin. For more on the XML used here, see UI Components XML Reference.
Specifies a CSS stylesheet for use in the plugin.
<css src="xs:string" />
Key representing this plugin's database schema in the Jive SBS database. Used in the jiveVersion table to store schema version information. Only required if the plugin has a DB schema.
<databaseKey>xs:string</databaseKey>
The version of the database schema supported by this version of the plugin. Increment this value to provoke schema updates when the plugin is upgraded. Only required if the plugin has a DB schema. Not supported in version 2.5.
<databaseVersion>xs:integer</databaseVersion>
Specify a custom SiteMesh decorator for the plugin.
<decorator name="xs:string" page="xs:string"> <pattern> </decorator>
A set of default values for a macro parameter. Include more than one value when the set of possible values is known in advance.
<defaults> <value>xs:string</value> </defaults>
A short description of this plugin.
<description>xs:string</description>
Specifies URL patterns that SiteMesh should not decorate.
<excludes> <pattern> </excludes>
Used to define custom Javascript information from a plugin.
<javascript src="xs:string" />
Specifies a list of soy templates that will automatically be imported as client-side templates on every page. (Client-side Soy templates are converted into Javascript that needs to be imported into a page for the templates to be used).
<soy src="xs:string" />
Describes a custom macro.
<macro name="xs:string" type="text | inline | image" url="xs:string" hasBody="xs:boolean" class="xs:string" script="xs:string" icon="xs:string" showInRTE="xs:boolean" isButton="xs:boolean" order="xs:integer"> <parameterSet> </macro>
com.jivesoftware.base.plugin.Macro
. The minimum version of the server that this plugin requires.
<maxServerVersion>xs:string</maxServerVersion>
The minimum version of the server that this plugin requires.
<minServerVersion>xs:string</minServerVersion>
The name of this plugin as it should be displayed when viewed in the admin tool.
<name>xs:string</name>
Defines a macro parameter, along with default values, if any.
<parameter name="xs:string" value="xs:string"> <defaults> <value>xs:string</value> </defaults> </parameter>
Defines a named macro parameter set. A parameter set provides an easy way to set several macro properties at once.
<parameterSet name="xs:string"> <parameter> </parameterSet>
A URL pattern used by either of the SiteMesh tag children: decorator or excludes. Examples of a pattern would be: - /foo* - *.bar
<pattern>xs:string</pattern>
URL of where the plugin lives.
<pluginURL>xs:string</pluginURL>
<sitemesh> <!-- The following in any order. --> <decorator> <excludes> </sitemesh>
<urlmapping prefix="xs:string" class="xs:string" />
Specifies a possible default value for a macro parameter.
<value>xs:string</value>
The version of this plugin.
<version>xs:string</version>
Configuration for a custom widget.
<widget class="xs:string" />