Can a page be in multiple spaces?
Asked by Tessa Antonelli:

I am wondering if it is possible to have a page that sits in more than one space, but is still synchronised and updated. Whether this just means linking to another space, or that you can have duplicate pages which remain in sync.

Thanks


Answers:
author: Tarun Sapra
body: Hello [@Tessa Antonelli](/t5/user/viewprofilepage/user-id/2928415)

A confluence page can belong to only one space.

But your requirement is a common one and has been asked on this portal before

<https://community.atlassian.com/t5/Answers-Developer-Questions/Is-there-a-way-to-sync-a-page-between-two-separate-instances-of/qaq-p/556283>

<https://community.atlassian.com/t5/Confluence-questions/One-Confluence-page-in-two-places/qaq-p/63261>

<https://community.atlassian.com/t5/Confluence-questions/How-can-i-put-the-content-of-one-confluence-page-into-another/qaq-p/211858>

comments: author: Tarun Sapra
body: Still if you want the content to be \*synced\* then I have been able to achieve thorugh multi-except macro (paid plugin).

By using the macro if you enter the content in one page in the macro body then the content will be reflected automatically in another page. But it's single directional and not bi-directional so that one page is just listening for content of another page and the listener automatically gets updated when new content is added to the target page.


author: Jason Christina
body: I've done this through labels on the page and the content by label add-in on the page you want to reference the other content from.


author: Nic Brough -Adaptavist-
body: I usually just use:

* Page 1: Content
* Page 2: {include: Page 1}

When you have entire pages to duplicate in many places. It's not quite a duplication - Page 2 simply goes off and reads the content of page 1 when it needs to show it. Authors maintain Page 1, and don't have to think about Page 2 or any others.

comments: author: Jason Christina
body: Nice! Haven't come across that one yet. Thanks for pointing it out.


author: Tara @ Epik
body: This seems pretty simple compared to other suggestions. Does it work across multiple spaces? I have onboarding content I've set up to host in one space- then I want to have it listed in multiple additional spaces. Of course I'll be updating the info regularly so I want to only update it in one space.

Will this work?


author: Nic Brough -Adaptavist-
body: Yes, it works across spaces (I left that out to keep the answer short - I should have included something like "Page 1: Content", "Page 2 (in any space): include"


author: Tara @ Epik
body: Thanks, Nic. It seems I've come across an issue I wonder if others have experienced- when my master page (Page 1) contains a macro "button" that generates a global template in Page 2- I can't direct the new page to land in the space that my "Page 2" exists in.

Any suggestions?


author: Nic Brough -Adaptavist-
body: The macros run in the context of the page they are running in, not the page they are being "copied" from. So, yes, it will create in the current space, not the source space.


author: Tara @ Epik
body: What command do you use to have it created in the in the space it's been copied to? Mine keep creating in the source space...

and I can't get it to automatically generate a new title or date even though I'm using the @spaceKey and @currentDate directions. (see attached photo).

Thanks for the help!

![Screen Shot 2019-09-18 at 2.11.39 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/66736i52DE20166EF2722F/image-size/large?v=v2&px=999 "Screen Shot 2019-09-18 at 2.11.39 PM.png")


author: Nic Brough -Adaptavist-
body: No, it doesn't know the context of where it's running, and changing that could break all the permissions (or at least make them almost impossible to work out in a reasonable time). It's not a good idea to put such "create" macros in pages you are going to include.


author: Tara @ Epik
body: I was afraid of that answer.

Any other work around suggestions for this issue?

I'm basically creating a manual with Step by Step instructions, that ideally include templates that need to be filled out. (and this manual would ideally be copied in multiple spaces)...


author: Nic Brough -Adaptavist-
body: I can't think of one that doesn't involve some form of scripting (allow it to create page in the wrong place, then try to move it) or a new "create from template" macro that has the "in another space" parameter.


Tags: page

space