Hi guys!
I'm currently setting up some blueprints and face a problem i was not able to solve by myself so far:
The goal is to have a blueprint. Nothing fancy so far. But I want this blueprint to contain macros that create content from templates within that same page. Quite similar to the "create from template" macro, but I want the content not to be created in a separate page, rather in the same page the macro is in.
The blueprint is needed for product related pages that will be filled with content over time. So while a template makes sense here, I can't expect users to fill out the page at once.
Best Regards
I do not understand what you mean by "creating content in a separate page". As far as I understand the Create-from-Template-Macro there is always a new page created. What do I miss?
I see two scenarios: Either you want to create a new section within an existing page or you want to create a new page and the new content should show up in an existing page.
If you need the first, you just need a section / placeholder in the existing page that gets eventually filled. You could use the Section Macro for this (there is also a free version with limited features).
If you need the second, you could use transclusion mechanism. That is: create a page and then transclude parts of the document to show in the parent (or other) document. This might work with the Excerpt Macro / Excerpt Include Macro (I have not checked), but it would work with macros of the projectdoc Toolbox. See Transclusion Macro and Transclude Documents Macro for details.
There is probably a third scenario ... - if my answer is not helpful to you, I'd like to ask you to provide more details about your use case.
Please note that the projectdoc Toolbox is a commercial add-on and I am one of its authors.
Thank you for your answer.
I am "just" a space administrator and unfortunately not able to install additional plug-ins. I would need a confluence stock macro to solve my issue. Here is some more information:
Yes, the create-from-template macro always creates an additional page. And that is exactly what I don't want to happen.
I basically need a macro that enables users to create additional content based on a template in the same page the macro is in.
Kind of like a create-from-template macro that puts the content in the parent page.
I hope I was able to clear things up a bit. I'm not a native speaker and am trying my best here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your explanation! Rereading your first question I do not see why I did not understand it in first place ... (I am not a native speaker either ). Now I understand what you want to achieve.
Unfortunately I don't know of such a macro.
Maybe you could define user macros where users add parameters and the macro renders the content based on the user's input. Unfortunately you would need system administrator permissions. Following this suggestion the macro controls the structure and the user the content. This may work for some use cases, but certainly not for all. But note that I have not used user macros before by myself (it is easier for me to create add-ons).
Or you give the transclusion approach with the excerpt macros a try ... but this implies subpages and I'm not sure if the excerpt macros can handle content that is not yet existing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.