Is there a way to add a macro to all pages of a space?
I have a user macro that creates some specific actionable icons. I want to include this macro on every page within a space.
How can this be done?
and....found it
Prereq:
The space should have the Gloabl Look and Feel theme enabled or the process wouldn't work.
Process:
Hope this helps anyone else looking for a similar solution. You are welcome! :)
Hi there,
You can add the macro either in the Header/Footer of a space, such as under Space Tools > Look and Feel, or you can click Layout and create a special page layout.
There is more information on how to do this on this past Community post.
Let us know if you have any questions about this.
Kind Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The past community post does talk about the same issue/question I have but doesn't necessarily provide the best example on where the $helper.renderConfluenceMacro("{testmacro}") should go within the multitude of page decorators found within Page Layout for the space. Also, not certain if it needs to be enclosed within other tags e.g. <content></content> etc.
I would very highly appreciate If you/your team could provide some more guided help on this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good solution and works, but I have an additional question if it is possible?
The macro is inserted correctly but has default options that the macro inherits, is it possible to show the macro with the options I define within it, the <attributes> tags in the storage format?
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.