Blueprint title empty

Hi

I'm trying to create a Blueprint plugin using:

https://developer.atlassian.com/display/CONFDEV/Write%20a%20simple%20Confluence%20Blueprint%20plugin

It's going well but the title is blank. See attached screenshot.

Where is the name set?

What am I missing?

Thnaks

2 answers

1 accepted

0 votes
Accepted answer
<content-template key="my-index-template"
		i18n-name-key="my.blueprint.index.title"
		template-title-key="my.blueprint.index.title">
		<description key="my.blueprint.index.description"/>
		<resource name="template" type="download"
			location="/templates/myTemplateIndex.xml" />
	</content-template>

The blog post references "template-title-key" attribute. However, this is now "i18n-name-key"

A shot in the dark but have you edited the properties file?

  1. Add the i18n strings to src/main/resources/confluence-space-blueprints.properties:

    confluence.blueprints.space.example.name=Example Space Blueprint
    confluence.blueprints.space.example.description=An example of a space blueprint
    confluence.blueprints.space.example.dialog.create.title=Create your Example Space
    confluence.blueprints.space.example.dialog.create.heading=About Example Spaces
    confluence.blueprints.space.example.dialog.create.description=The example space is a way of demonstrating the features of space blueprints
    confluence.blueprints.space.example.home.title.suffix=Home Page

Yeah I had set up the i18n properties, but the attributes for the name appear to have changed since my referenced article was written. Serves me right for not downloading the source in the first place!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

475 views 3 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you