How to synchronize and update documents in space A to space B, and after modifying documents in space A, synchronize and modify them in space B. All users of space B can view it, but all users of space B do not have access to space A
Hi @zhaohongm ,
Welcome to the community !!
This is not possible in native confluence. There is include page macro in the confluence but it respects space permissions and page restrictions, so be sure to check who can view the page you're including.
Check if 3rd party plugin Comala publishing suits your requirement.
Hi @zhaohongm
This is something that is possible with ScriptRunner for Confluence.
With ScriptRunner, you can create a listener that listens for page updates in a specific space. You can then write a script that will execute when these conditions are met.
Your script uses Confluences JAVA API to interact with Confluence. Luckily, there is already a script that looks like it meets your requirements in our Script Library: How to sync pages
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bobby Bailey ,
Page include macro does the same task. Is there any difference by using the script ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Rilwan Ahmed as you mentioned the macro will respect the permissions of the page you are including.
So, if I were to include a page from Space A in a page from Space B, and a user who had access to Space B but not to Space A tried to view it they would not be able to see the content, I believe that is correct?
With a script, you can programmatically copy the changes made on a Page in Space A to a Page in Space B. This means that users who have access to B but not A would be able to see the mirror of a page in Space A.
This way, you can select a number of pages from Space A that have mirrors in Space B that can be viewed by everyone.
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.