Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Comala Publishing can be used to publish all the pages in one space (a source space) to another space (the target space) in the same Confluence site.

Note

If you have any external links to your original space, this process may break these links as the new published pages will be effectively new pages created with a new pageID.

Permissions

Before you can undertake any publishing, you will require space administrator permission to configure publishing and action a whole space publishing action.

...

You must ensure you have an appropriate homepage defined in the published space page hierarchy prior to publishing any content from the new development (DEV) space to the production (PROD) space. Changing a homepage (in either the source or target space) after the initial space publishing action may result in pages to be published to the root of the published space.

Set up the new development space

Comala Publishing is designed to publish content from a source space to an “empty” target space. Although a space with existing pages can be configured as a target space, if you set a target space that has some existing title pages that are the same as in the source space, this can cause publishing issues.

In this example, after copying your current production space to your new development space, you need to delete the content (except for the space homepage) in your existing production space before publishing from the new source development space.

In the development (DEV) space

...

Original page URL in the production space

  • /wiki/spaces/PROD/pages/2438561796/Product+Team+Ethos

Published page URL in the development space

  • /wiki/spaces/DEV/pages/2438693479/Product+Team+Ethos

Published page URL in the production space with new contentID

  • /wiki/spaces/PROD/pages/2438823986/Product+Team+Ethos

The backward publishing of pages from the production source space to the development space updates the spacekey used in the page URL to the production spacekey.

  • this is a new page in the PROD space and will have a new contentID

...

Deleting pages after publishing

Insert excerpt
CPCL:I have deleted a page!CPCL:
I have deleted a page!
nopaneltrue

...

If you publish a child page and the parent page is not present in the target space, the child page will be created and placed in the root directory of the target space. This is most likely to occur when using single-page publishing option as it only publishes the current page and the target space parent page no longer exists or has not yet been published. You may need to re-publish the parent page.

Hierarchy is maintained where possible when publishing - however in some cases the order in the hierarchy is not maintained and my need to be manually changed in the target space.

...