Web extension manifest
The manifest.xml contains this information:
- Name of the web extension (caption)
- Description
- Version
- The name of the author or issuing company
- Name of the JavaScript source file
- Description of the web extension parameters. Each parameter description contains:
- Parameter unique name
- Parameter caption
- Parameter description
The name and description of the web extension, and the parameter captions and descriptions, can be localized into different languages.
Localizations are for the UI language, not for the report content language. The language strings appear in the Application Studio full client Design mode, not in the report in View mode.
Note: All parameters of the web
extension are required. A good practice for web extension development is to accept empty
strings as values and to assume a reasonable default value.
Example
<WebExtensionManifest Version="1">
<Name>
<en>Rich Text Editor</Name></en>
<de>Rich-Text-Editor</de>
</Name>
<Description>
<en>DESCRIPTION</en>
<de>BESCHREIBUNG</de>
</Description>
<Version>0.0.0.1</Version>
<Author>Hans Müller</Author>
<MainJavaScript>webextension.js</MainJavaScript>
<Parameters>
<Parameter UniqueName="P1">
<Caption>Caption</Caption>
<Description>Description</Description>
</Parameter>
<Parameter UniqueName="P2">
<Caption>
<en>Second Parameter.</en>
<de>Der zweite Parameter.</de>
</Caption>
<Description>
<en>…</en>
<de>…</de>
</Description>
</Parameter>
</Parameters>
</WebExtensionManifest>