...
Wiki Markup |
---|
{repository-workflow:dm.remotepublishing|categories=sample,docmanagement|chart=remotepubworkflow_850px.png} {repository-description:name=Remote Publishing Workflow} {note}Remote publishing requires the [Remote Publishing Plugin|https://marketplace.atlassian.com/plugins/com.comalatech.remotepublishing].{note} This workflow allows one-way synchronization of a remote confluence instance. Please visit the [workflow's page|https://wiki.comalatech.com/display/WORKFLOW/Remote+Publishing+Workflow] for instructions on how to set up the _private_ and _remote_ instances. Content that is Published can be removed using the Remote Publishing app. This transitionapp transitions content to the Removed state in the workflow. {repository-description} {workflow-body} {workflow:name=Remote Publishing} {description} This workflow allows one-way synchronization of a remote confluence instance. Please visit the [workflow's page|https://wiki.comalatech.com/display/WORKFLOW/Remote+Publishing+Workflow] for instructions on how to set up the _private_ and _remote_ instances. {description} {state:Draft|submit=For Review} {state} {state:For Review|approved=Published|rejected=Draft} {approval:Publish} {state} {state:Published|final=true|updated=For Review} {state} {state:Remove|hidefrompath=true} {state} {trigger:statechanged|state=Published} {set-message:type=note}Page publishing pending...{set-message} {trigger} {trigger:statechanged|state=For Review} {set-message}{set-message} {trigger} {trigger:statechanged|state=Published|queue=true|newevent=pagepublished} {remotepublish-page:remote} {trigger} {trigger:newsstatechanged|state=Published} {set-message:type=note}Page publishing pending...{set-message} {trigger} {trigger:newsstatechanged|state=For Review} {set-message}{set-message} {trigger} {trigger:newsstatechanged|state=Published|queue=true|newevent=pagepublished} {remotepublish-page:remote} {trigger} {trigger:pagepublished|success=true} {set-message:style=info}Page Published!{set-message} {trigger} {trigger:pagepublished|success=false} {set-state:For Review} {set-message:user=<at:var at:name="user" />|style=warning}publishing failed: <at:var at:name="errormessage" />{set-message} {trigger} {trigger:statechanged|state=Remove} {remoteremove-page:remote} {trigger} {workflow} {workflow-body} {repository-workflow} |
Workflow and remote space
You must have set up
- a remote public Confluence instance for publishing the approved content.
- a private Confluence instance for the content that will be published.
Comala Document Management and Comala Remote Publishing must be installed in the private instance.
Content removed in the published instance will transition to the Remove state in the private instance.
Setting up the remote instance
To setup the remote instance you are publishing to, you need to enable "Remote API" setting in Administration > General Configuration > Feature Settings.
You also need to have a user that has access to the general
space.
We recommend you set up a user on the remote instance that only has access to the spaces you are publishing to for security purposes and . This will also help to prevent accidental overwrites of other spaces.
...