Hello,
We are using confluence cloud.
I am trying to create a child page applied with a template on click of a link. I added a link to the parent page and here are the values for link and display text
Link:
https://kibo.atlassian.net/wiki/pages/createpage.action?spaceKey=~5e6154a090b4510cd820c68e&fromPageId=137098231822&fromTemplateId=137102327905
OR
https://kibo.atlassian.net/wiki/pages/createpage.action?spaceKey=~5e6154a090b4510cd820c68e&fromPageId=137167077409&templateId=137167011872
Display Text:
Create New Incident Report
Everything works fine except the template is not applied to the newly created page. I tried all the variations of parameters like templateId or other suggested variations on forums. I am in doubt now whether is it even possible anymore? The template is listed under user created templates under space settings > templates. The templates can be applied manually after the page is created. I want it to be auto applied as soon as the page is created.
Hey @Saurabh Gadkari ,
I haven't tried using direct links/URL for creating templates (and placing those as hyperlinks on text), but have you maybe checked/tried using create from template macro?
Basically, this creates a button that could create a (child) page using a selected template.
Cheers,
Tobi
I wasn't aware of this macro and it helped to do exactly what I was trying to achieve. Fortunately it is creating sub-pages to the page where the macro is used which is what I wanted, but just curious, what if I wanted to create the sub-pages some where else?
It does let's you specify the space id (which apparently different than current space - default is current space) but not sure where the pages on that space would be created.
Anyways, your inputs helped achieve what I wanted. Thank you very much!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Saurabh Gadkari yeah - you cannot specify the parent page for this macro. There's an open suggestion for that though: CONFCLOUD-29581: Create from template macro should ask on which location the page will be created
💡What you could try instead/as an alternative is Smart buttons. With this, you could specify the parent page.
You would probably need to play with this a bit more to see if you can set a dynamic page name or something like that. I haven't used it that much TBO.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Tomislav Tobijas thats another tool in the inventory :) But my requirement is addressed with the 1st macro you suggested so I will go with it for now.
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.