How to use macro in generalPage


#1

Hello there
I’m quite new to confluence so apologize if the answer is obvious…
I want to create an app with a number of blueprints, and a overview page which lists the blueprints and a “create-from-template” button for each.

So I added this code to a general page:

      <ac:structured-macro 
        ac:name="create-from-template" 
        ac:schema-version="1">
          </ac:parameter>
          <ac:parameter ac:name="blueprintModuleCompleteKey">
            de.medical-risk-management.confluence.mrm-basic:mrm-base-strategy
          </ac:parameter>
          <ac:parameter ac:name="templateName">
            de.medical-risk-management.confluence.mrm-basic:mrm-base-strategy
          </ac:parameter>
          <ac:parameter ac:name="buttonLabel">
            Create a Risk Management Strategy 
          </ac:parameter>
        </ac:structured-macro>

but it does not work at all, no button is shown. The same code in a page works. So what is wrong here?

Thanks for any help!