Hi,
I have made the space blueprint. Which works like charm. I want that whenever I create a confluence workspace, empty blank pages with only their headings are created so that I can have a tree structure. Any idea how to achieve this.
Help / suggestion would be highly appreciated.
BR
Alok
Hi @Alok Juneja
What do you mean by space blueprint?
Did you do this: Write a simple confluence space blueprint ?
If yes, there you should be able to change the blueprint with empty pages.
If no, there is no good option to achieve your goal without any apps.
You could use "Space Admin Browser" or "ScriptRunner for Conflunce" to copy a template space.
Regards, Dominic
I did follow the instructions that are listed in the link that you provided and was able to create the customized home page when I create the workspace. What I was looking for to create empty pages and child pages that are empty so that I can construct the tree structure when space is created.
Do you know what classes to use or you have some example code to achieve this.
BR
Alok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh, okay.
I never did this before.
I found a really old question here in the community:
There is a hint in the 3rd comment. Can you try this?
Perhaps it is not up to date, but it can help you to investigate further.
Regards, Dominic
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Dominic LaggerI am only able to create only one child page. That is very strange.
<content-template key="homepage" i18n-name-key="confluence.blueprints.space.example.homepage.name">
<description key="confluence.blueprints.space.example.homepage.desc"/>
<resource name="template" type="download" location="/xml/space-home.xml"/>
</content-template>
<content-template key="meetings" i18n-name-key="confluence.blueprints.space.example.meetings.name">
<description key="confluence.blueprints.space.example.meetings.desc"/>
<resource name="template" type="download" location="/xml/page.xml"/>
</content-template>
<content-template key="decisions" i18n-name-key="confluence.blueprints.space.example.decisions.name">
<description key="confluence.blueprints.space.example.decisions.desc"/>
<resource name="template" type="download" location="/xml/page.xml"/>
</content-template>
<space-blueprint key="space-blueprint" i18n-name-key="confluence.blueprints.space.example.name" category="examples">
<content-template ref="homepage">
<content-template ref="meetings"/>
<content-template ref="decisions"/>
</content-template>
</space-blueprint>
Any idea why so.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't know, sorry. I've never did this before...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Dominic LaggerI was doing some mistake. It is working and I am able to generate multiple child pages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.