Hi
I am trying to nest macros in user macro.
So this one works:
<ac:macro ac:name="cheese" />
and it shows the Cheese macro.
and as you can see, the logic is that I need to write the name of the macro, in order to use an existing macro in my user macro.
So how do I know what is the name of macro?
More specific the macro with the title Page Properties what is the name for that?
I tries pageproperties, page_properties, details and none of that seems to work.
any idea how I can find out the name (and not the title) of the macro?
ps, the rule for user macro is that macro name is lower case without spaces
The quickest way for me to find out the name of a macro is to add it to a page and view the storage format of the page (actually I'm using the source editor for this).
In case of the Page Properties Macro it is "details".
<ac:structured-macro ac:macro-id="0b964145-16ed-4fca-8557-e9f0ffbe6e19" ac:name="details" ac:schema-version="1">
<ac:rich-text-body>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
Thanks,
I actually did the same, and looked into the source code, and came up to the name details, but for some reason it did not worked out for me.
I did not used the ac:macro-id attribute though, so I do no know if that was as issue.
Any how, now it is working, so thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As far as I know is the macro ID something that is generated at the time the page is rendered. Therefore you should not need to add it in your code. The same is - again as far as I know - the case with the schema version.
When I am adding a macro to one of my blueprint templates then I only use the name attribute and omit macro-id and schema-version.
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.