Sharing content between two Confluence OnDemand accounts

We're collaborating with an agency.

They have a Confluence onDemand instance. We have one as well.

If they create pages in their instance that has to do with our project, is there a way we can see them in our Confluence? Or vice versa?

1 answer

You could easily generate a page on your site that is a table of links to pages on the other site. While you could also copy the pages using similar techniques, I would think linking is better. You will need some criteria for determining "has to do with our project" - probably using a one or or more of space location, Confluence search, labels, or a regular expression on titles. All are supported by Confluence Command Line Interface using either getPageList or getContentList. You would set the action to run on a regular interval (hourly ?) using your favorite job scheduler (or even better, Bamboo). Run the action to create a csv file from one site and then use addAttachment to the other site. Use the CSV macro to display. Example output describes the techniques and shows live examples.

Thanks Bob. I presume that each user in our onDemand instance would need to be a user in their onDemand instance as well? I.e. it's not possible to share pages so we don't have to create user's in accounts?

Yes, for linking, they would need accounts on the other site. If this is not possible, then, you have to go with the copy page option. In that case, use the getContentList option as it can search by change time in addition to the other criteria, then use the targetServer parameter on the copyPage action.

There is a third option, Include-remote Macro. It may work for relatively simple content, but it has some limitations for general content.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,076 views 56 8
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you