Blueprints allow your connect add on to provide content creation templates.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
{
"modules": {
"blueprints": [
{
"template": {
"url": "/blueprints/blueprint.xml",
"blueprintContext": {
"url": "/blueprints/context"
}
},
"createResult": "edit",
"description": {
"value": "This is a description."
},
"icon": {
"width": 48,
"height": 48,
"url": "/my-blueprint-icon.png"
},
"name": {
"value": "Simple Remote Blueprint"
},
"key": "remote-blueprint"
}
]
}
}
key
Type | |
Max length | 100 |
Required | Yes |
Pattern | ^[a-zA-Z0-9-]+$ |
Description | A key to identify this module. This key must be unique relative to the add on, with the exception of Confluence macros: Their keys need to be globally unique. Keys must only contain alphanumeric characters and dashes. The key is used to generate the url to your add-on's module. The url is generated as a combination of your add-on key and module key. For example, an add-on which looks like: { "key": "my-addon", "modules": { "configurePage": { "key": "configure-me", } } }
Will have a configuration page module with a URL of |
name
Type | |
Required | Yes |
Description | A human readable name. Represents a string that can be resolved via a localization properties file. You can use the same Example1 2 3 4
|
value |
| ||||||||
i18n |
|
template
Type | |
Required | Yes |
Description | Defines where the blueprint template is located and the context for variable substitution. Defines where the blueprint template is located and the context for variable substitution. 1 2 3 4 5 6 7 8 9
|
url |
| ||||||||
blueprintContext |
|
createResult
Type | |
Defaults to | edit |
Allowed values |
|
Description | Defines the screen to go to when creating this type of Blueprint. A value of |
description
Type | |
Description | Defines a short description for this Blueprint, to be shown in the Create Content dialog. Represents a string that can be resolved via a localization properties file. You can use the same Example1 2 3 4
|
value |
| ||||||||
i18n |
|
icon
Type | |
Description | Defines an icon for this Blueprint, to be shown in the Create Content dialog. Defines an icon to display. Example1 2 3 4 5 6 7 8
|
url |
| ||||||||
height |
| ||||||||
width |
|
Rate this page: