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

This widget could not be displayed.
<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"

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 30, 2018 in Confluence

How Manon Soubies-Camy uses Confluence + Trello to organize webinar notes and her knitting stash

@Manon Soubies-Camy is an engineer who has been an avid Atlassian user since 2014. She helps companies of all sizes transform the way they work with the Atlassian stack, including Jira and Confl...

855 views 8 13
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