we are trying to create a new page via external link. This link is created in our own application.
I managed to create an empty page with title via this link:
This is fine for some quick documentation, but for other use cases we´d like to use a template. For now we are using an inbuild template 'Meeting notes' and so I designed a link from our application like this:
But this is not working, I get a featureless error message from confluence.
I think, this "template id" I am using, is the blueprint id of the 'Meeting Notes' template, and honestly, I don´t think this is the ID I should be using.
1. Where can I find the real "template id" of an inbuilt template (blueprint)?
2. Would it be better to design our own templates for this use case?
Confluence hosted on atlassian.net (not on-premise)
Hello Hans-Florian and welcome to the Community!
This is an interesting idea, creating a page via a URL outside of Confluence. We did find a similar Community article we would like you to review as the users there are attempting the same thing: Can I trigger a template from a link?
Additionally, you may complete this same action via a REST API call. The REST API will allow for a lot more customization around your created content and allow you to be a lot more flexible with what you’re creating. You’ll also not be constrained to the 2083 character limit of URLs. Please review this endpoint for further information: POST /wiki/rest/api/content.
I hope this proves helpful and you’re able to get your templated content created.
Hi, thank you for your answer and sorry for the long delay.
We improved our software recently so we can send and receive data via REST. So this might be a possibility for us. I checked the page you were referring to.
How can I create a new page from a blueprint via REST?
Glad to hear there are improvements on your end to support REST API calls. With the REST API, you may create pages within Confluence using the following endpoint: POST /rest/api/content. The functionality to create a page using the REST API is not currently supported. There is a feature request to have this functionality added to the product which may be found at CRA-818.
A workaround to this would be to implement a similar method as the following:
I hope this information proves helpful and you’re able to start creating pages via the REST API.
Hello @Stephen Sifers ,
I tryed to do waht you said above, but the server is returnin error "500".
I created this post bellow, where I explain in more details.
Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events