How to Create a User Macro to Create Spaces
There is a simple way to create your own macro to create a new space - just like the {create-space-button}. You can simply follow the below steps in order to have the ability to create spaces from pages:
- Go to Browse > Confluence Admin > User Macros
- Click on Create a User Macro
- Fill the fields as follows:
- Macro Name: createspace
- Macro Title: createspace
Template:
<a id="create-new-space-link" class="fontSizeDefault" href="/spaces/createspace-start.action"> <img src="/images/icons/add_space_32.gif" align='absmiddle' height="32" width="32"></a> <br />
4. Click on Save
5. To test, create a new page and test this new macro you have created by typing {createspace} or selecting it from the Macro Browser.
Last modified on Feb 26, 2016
Powered by Confluence and Scroll Viewport.