When copying a page across a space, or copying spaces. Many of the Confluence Macros have a field in them called 'Space Key' that will always reference it's originating space. It would be nice if this key could have a field option of 'Use Current Space' or something like that.
Example Macro where this becomes an issue - Create from Template
Every time a page is copied that has this macro, it must be updated to include the new space to ensure new pages are placed under the correct space
Is there anyway to make this happen?
Another approach would be to wrap this with a user macro that gets the current space key and writes and executes the macro.
That is what I was going to say. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which macro is it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I needed to find the Space Key for my personal page. I looked at the source code for my page and saw that it was ~[myname].
When I put that in the space key for the macro it worked!! :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
With some macros, you can use @self. With others, if you leave the key field blank it defaults to the current space.
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.