• 1
    • 1
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      The "Create from Template Marcro" can't be used in an Global Template because of 2 limitations:

      • You have to define an Confluence-Area (which you don't know in an global template)
      • You have to select the Template. But the ComboBox ist not filled with the global available Templates.

      Would be great to use this in an Template to set up the Button. In the moment you have to update all Pages with the button which is against the Template function.

      The Area could be set to the Area where the page is located (after using the Template)

            [CONFSERVER-31735] "Create From Template Marcro" can't be used in an Global Template

            I'd say that there is mistake in Steven Behnke's comment above.
            He said that

            Space Template do NOT have this problem
            

            but really Space Template has this problem too.
            You can't use Create From Template macro in both, Global and Space Templates.

            And yes, copy/paste does the job.
            And strange why Atlassian coudn't fix this bug for years.

            Pavel Potcheptsov added a comment - I'd say that there is mistake in Steven Behnke's comment above. He said that Space Template do NOT have this problem but really Space Template has this problem too. You can't use Create From Template macro in both, Global and Space Templates . And yes, copy/paste does the job. And strange why Atlassian coudn't fix this bug for years.

            Anthony Main added a comment - - edited

            Well done Steven, wish I'd spotted your comment before I was just about to post a similar work around

            Anthony Main added a comment - - edited Well done Steven, wish I'd spotted your comment before I was just about to post a similar work around

            I propose this be addressed as a bug or at least looked into more quickly as this is irregular and feels like unexpected behavior.

            Bug

            It appears that the issue here is that when you are in a Global Template edit action (I am SPECIFIC here because Space Template Edit actions do NOT have this problem), the macro parameters do not load correctly. Please inspect my screenshot.

            Workaround

            • Add the macro on an actual page draft
            • Modify the macro parameters as desired
            • Use your system copy (CTRL+C/CMD+C) to copy your macro from your page draft
            • Use your system paste (CTRL+V/CMD+V) to paste your macro into your global template

            The macro (storage format) will be pasted into the editor with it's parameters intact.
            Working example

            Confluence Storage Format; Create from Template macro pointed at JIRA Report Blueprint
            <ac:structured-macro ac:name="create-from-template">
            <ac:parameter ac:name="createResult">edit</ac:parameter>
            <ac:parameter ac:name="blueprintModuleCompleteKey">com.atlassian.confluence.plugins.confluence-software-blueprints:jirareports-blueprint</ac:parameter>
            <ac:parameter ac:name="contentBlueprintId">51826ad4-03d5-47cd-b161-712c778c8e09</ac:parameter>
            <ac:parameter ac:name="buttonLabel">Create from template</ac:parameter>
            <ac:parameter ac:name="templateName">51826ad4-03d5-47cd-b161-712c778c8e09</ac:parameter>
            </ac:structured-macro>

            Bugged example

            Confluence Storage Format; Create from Template macro, unable to submit from Macro Modal screen
            <ac:structured-macro ac:name="create-from-template">
            <ac:parameter ac:name="buttonLabel">Create from template</ac:parameter></ac:structured-macro>

            Steven F Behnke added a comment - I propose this be addressed as a bug or at least looked into more quickly as this is irregular and feels like unexpected behavior. Bug It appears that the issue here is that when you are in a Global Template edit action (I am SPECIFIC here because Space Template Edit actions do NOT have this problem), the macro parameters do not load correctly. Please inspect my screenshot. Workaround Add the macro on an actual page draft Modify the macro parameters as desired Use your system copy (CTRL+C/CMD+C) to copy your macro from your page draft Use your system paste (CTRL+V/CMD+V) to paste your macro into your global template The macro (storage format) will be pasted into the editor with it's parameters intact. Working example Confluence Storage Format; Create from Template macro pointed at JIRA Report Blueprint <ac:structured-macro ac:name= "create-from-template" > <ac:parameter ac:name= "createResult" >edit</ac:parameter> <ac:parameter ac:name= "blueprintModuleCompleteKey" >com.atlassian.confluence.plugins.confluence-software-blueprints:jirareports-blueprint</ac:parameter> <ac:parameter ac:name= "contentBlueprintId" >51826ad4-03d5-47cd-b161-712c778c8e09</ac:parameter> <ac:parameter ac:name= "buttonLabel" >Create from template</ac:parameter> <ac:parameter ac:name= "templateName" >51826ad4-03d5-47cd-b161-712c778c8e09</ac:parameter> </ac:structured-macro> Bugged example Confluence Storage Format; Create from Template macro, unable to submit from Macro Modal screen <ac:structured-macro ac:name= "create-from-template" > <ac:parameter ac:name= "buttonLabel" >Create from template</ac:parameter></ac:structured-macro>

            I confirm the above comment (Fabrizio Galletti 10/Oct/14)
            You can prepare the button on a standard page and copy-paste it to Global Template.
            Of course you won't be able to change the parameters of the button on the Global Template page, but it will work as expected.

            Deleted Account (Inactive) added a comment - I confirm the above comment (Fabrizio Galletti 10/Oct/14) You can prepare the button on a standard page and copy-paste it to Global Template. Of course you won't be able to change the parameters of the button on the Global Template page, but it will work as expected.

            I've used it, with copy and paste from a standard page if i remember well

            Fabrizio Galletti added a comment - I've used it, with copy and paste from a standard page if i remember well

            Dan Tecson added a comment -

            Any luck with making this happen?

            Dan Tecson added a comment - Any luck with making this happen?

            I would love to use this feature as well.

            Jason Brown added a comment - I would love to use this feature as well.

            I would like the feature too. Now I have to create the same template for each space, which also means a lot of maintenance. For every small change on the template I have to do it in every space where it is used. So being able to use the Create from template button in a global template would help a lot.

            Patrick Vanhoof added a comment - I would like the feature too. Now I have to create the same template for each space, which also means a lot of maintenance. For every small change on the template I have to do it in every space where it is used. So being able to use the Create from template button in a global template would help a lot.

            Heiko Markgraf added a comment - - edited

            Hi Natasha,

            yes thats correct understood.
            I want to build an hirachical requirement document.
            My Ideas is to have a Page "Requirement" which has the global defenitions of an part of the software.
            Requirement can have Requirements and additional they can have several "UseCase" documents.

            The Ideas is to have a List of the nested Requirements / UseCases in the Requirement page. And below this Lists I want to have an Button "Create new Requirement" or "Create new UseCase". For that I want to have this Button in an Template.

            Req1

            • Req2 <- A button to create a new Page as child document from a template
              • UseCase 1
              • ...

            Perhaps there are more use cases where it would improve the creation of hirachical documents.

            Hope my explanation is understandable.
            Otherwise feel free to ask for more informations.

            Best regards
            Heiko

            Heiko Markgraf added a comment - - edited Hi Natasha, yes thats correct understood. I want to build an hirachical requirement document. My Ideas is to have a Page "Requirement" which has the global defenitions of an part of the software. Requirement can have Requirements and additional they can have several "UseCase" documents. The Ideas is to have a List of the nested Requirements / UseCases in the Requirement page. And below this Lists I want to have an Button "Create new Requirement" or "Create new UseCase". For that I want to have this Button in an Template. Req1 Req2 <- A button to create a new Page as child document from a template UseCase 1 ... Perhaps there are more use cases where it would improve the creation of hirachical documents. Hope my explanation is understandable. Otherwise feel free to ask for more informations. Best regards Heiko

            Hi Heiko,

            If I understand it correctly, you are trying to use the "Insert from Template" macro while you are IN a global template (essentially adding the ability for a user to invoke another create-by-template after creating a page by (global) template).

            If this is accurate, can you give me an example of what you'd want to do this for? Just trying to better understand your use case here. Also, it seems like your workaround (as you mention) is to add the button to each page that is created by the global template.

            Thanks,
            Natasha Prasad
            Confluence Product Manager

            Natasha Prasad added a comment - Hi Heiko, If I understand it correctly, you are trying to use the "Insert from Template" macro while you are IN a global template (essentially adding the ability for a user to invoke another create-by-template after creating a page by (global) template). If this is accurate, can you give me an example of what you'd want to do this for? Just trying to better understand your use case here. Also, it seems like your workaround (as you mention) is to add the button to each page that is created by the global template. Thanks, Natasha Prasad Confluence Product Manager

              Unassigned Unassigned
              243414c2666e Heiko Markgraf
              Votes:
              34 Vote for this issue
              Watchers:
              25 Start watching this issue

                Created:
                Updated: