Hi,
I'm trying to follow the tutorials writing a blueprint for confluence ( 5.10.7 )
But i got stuck at Write an advanced blueprint plugin
at step 1: Choosing between templates.
when i try to create a page from the second template I get the error:
We can't create that blueprint right now.
Content blueprint has no ContentTemplateRef with key: simplebp-template2
It seems like the reference between the
....
</web-item>
<!-- Template for Blueprint -->
<content-template key="simplebp-template" template-title-key="my.blueprint.title">
<resource name="template" type="download" location="/templates/mytemplate.xml" />
</content-template>
<!-- Second Template for Blueprint -->
<content-template key="simplebp-template2" template-title-key="my.blueprint.title2">
<resource name="template" type="download" location="/templates/mytemplate2.xml" />
</content-template>
</atlassian-plugin>
in the atlassian-plugin.xml and the
<option value="simplebp-template2">{getText('my.blueprint.title2')}</option>in the simplebp.soy
I think the reference between these two doesn't work...
When i change the value (simplebp-template2) of the second template in the soy file to simplebp-template it will create the first template.
Regards,
Christian