Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to publish to a specific folder in target space with Comala Publishing

Nicole Brooks
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 17, 2024

How can I avoid publishing to the "root folder" in a target space with Comala Publishing? I have copied the parent and subfolder from the draft space to the target space, but I still receive the "root" error message when publishing.

1 answer

0 votes
Kristian Klima
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 17, 2024 edited

Hi @Nicole Brooks and welcome to the Community.

I presume that by 'copied' you mean 'synced' or 'published' from Source to Target.

The error that you describe typically happens in the following circumstances:

Say that in Source have pages A, B, C in this hierarchy.

A

   B

      C

When publishing manually, you must publish the pages in the following order - A, B, C.

In other words, Publishing page C before A and/or B results in the page landing outside of the tree because it has no parent in Target.

As a remedy... in your target, delete the offending pages from the tree and then purge them from space. (Note, re-arranging pages in Target and triggering the sync again would work too but starting from scratch is the safest way).

In your source, sync/publish the pages with Comala Publishing again starting from the top of the hierarchy.

 

(Also avoid editing pages in Target as this may, under certain circumstances, break the sync.)

Nicole Brooks
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 17, 2024

How would this work within a workflow? I am not publishing manually.

I want the published document in the target space to be automatically filed in a specific folder in the target space. I am starting with an empty target space. I tried copying the parent/child hierarchy from the source space to the target space, hoping the published document would file appropriately, but that did not work. @Kristian Klima 

Kristian Klima
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 17, 2024

HI @Nicole Brooks 

Comala Publishing must first establish / build the pair of pages between Source and Target. 

If you hyar COPY the content between the source and the target, Comala Publishing has no way of knowing that Page A from Source has a pendant in Target. You need to SYNC the pages.

There's a setting in Comala Publishing (Space settings > App links > Comala Publishing, that allows you to publish ALL documents in one go from Source to Target.

This is important to establish those page pairs. You can, of course, do it manually, but you need to proceed from to top to bottom thru every single page in your tree.

 

As for the workflow (presuming one of the Comala's workflow, doc control apps). You can set up automatic publishing for the final state of the workflow, but the principle remains the same - if you try to publish a child page of a parent that has no pendant in Target, the child will end up misplaced.

 

With the following setting, you will be able to publish all pages from Source to Target unless the page is in the final stage of your workflow.

What I'd do - clear your Target completely, apply the following setting and you will end up with a properly synced Source and Target spaces.

The prerequisite is observing that parent/child hierarchy. So this requires a bit of housekeeping.

2024-10-18_08-30-54.png

 

Disclaimer: I'm running the setup of Comala Document Approval and Comala Publishing in about 12 spaces so I've been thru this multiple times :) My profile here has a LinkedIn link. Feel free to send me a contact request and I can walk you thru the process. 
Disclaimer 2 (I'm not for working for Comala/Appfire).

Like Jorge Merino likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Upcoming Confluence Events