Introduction to Space Blueprints
The Space Blueprints API (introduced in 5.3) is an extension of the existing Blueprints API (introduced in 5.1). Its main purpose is to help users bootstrap the space creation process. As a plugin developer, you can now hook into the Create Space dialog to add your own space blueprint. You can optionally do the following:
And lots more! It is really up to your imagination! For example the Team Space Blueprint provides a wizard to define 'team members' for a space and automatically adds the team members as space watchers and gives them explicit space permissions.
If you haven't already, please read about the blueprint concepts. For a basic tutorial, start by writing a simple Confluence Space Blueprint.
If you want to see some example code, the Hello Blueprint now contains a space blueprint. The source code is available on Atlassian Bitbucket: bitbucket.org/atlassian/hello-blueprint. To clone the repository, issue the following command:
1 2git clone https://bitbucket.org/atlassian/hello-blueprint.git
Space Blueprints are built with the following plugin module types:
Module
|
Purpose
|
---|---|
Add your Space Blueprint to the Create Space dialog. You must specify a section of The icon resource should be 200 x 150 pixel PNG icon resource representing the blueprint icon. | |
Defines the space blueprint | |
Describes the default home page and content for the space | |
Allows you promote blueprints for a space | |
Define a dialog wizard for users to input data during space creation |
Rate this page: