Configuration API
Configuration
| Field name | Description |
|---|---|
| icon | the extension unique identifier |
| name | the name given ti to the extension |
| version | the current version number of the extension |
| applicationConfigurationItem | List of Options containing the configuration of the extension for a specific kba |
| serverConfigurationItem | List of Options containing the general configuration for the extension (it can be overwritten by an applicationConfigurationItem) |
| disabled | flag that tells if enabled or disabled |
Example:
{
"configuration":{
"name":"documentConf",
"version":1,
"disabled":false,
"applicationConfigurationItem":[
{
"name":"pageMargins",
"explanation":"Configuration items related to the page margins",
"subOptions":[
{
"name":"HtmlWidth",
"defaultValue":"0",
"explanation":"",
"value":"0",
"mandatory":true
},
{
"name":"MarginBottom",
"defaultValue":"0",
"explanation":"",
"value":"0",
"mandatory":true
},
{
"name":"MarginLeft",
"defaultValue":"0",
"explanation":"",
"value":"25",
"mandatory":true
},
{
"name":"MarginRight",
"defaultValue":"0",
"explanation":"",
"value":"25",
"mandatory":true
},
{
"name":"MarginTop",
"defaultValue":"0",
"explanation":"",
"value":"25",
"mandatory":true
}
]
}
]
}
}