This site has moved to the integrated Appfire documentation and information site for our apps.

From February 2024 this site is no longer updated.

Take a look here! If you have any questions please email support@appfire.com

remotepublish-page macro

Overview

The remotepublish-page macro is used as an action to publish content to a space on a different Confluence Server, Data Center or Cloud instance.

  • content is developed in a space on the source server

  • published content is pushed to a space on a remote server

For more information, see: Remote-space publishing

Requirements

This macro requires the installation of the Comala Remote Publishing app for Comala Document Management.

Before using this macro, you must ensure both the source and target Confluence instances are properly configured.

For more information, see Remote-space publishing.

Where to use it?

Optional.

One or more remotepublish-page macros can be put in a trigger macro.

Parameters

Parameter

Required

Default

Notes

Parameter

Required

Default

Notes

config_name



The name of the remote publishing configuration profile to use.

  • remotepublish-page=<config_name>

where config_name is the name of the remote publishing profile added in the remote space configuration in the Document Management dashboard.

The configuration profile defines the remote server URL and destination space, as well as the username and password for an account on that server which has Edit Content permissions in the target space.

Basic example

This example will remote-publish to a server defined by the "MyDestination" remote publishing configuration.

{workflow:Remote-space publishing} {state:Editing|submit=Review} {state} {state:Review|approved=Published|rejected=Editing} {approval:Review} {state} {state:Published|updated=Editing|final=true} {state} {trigger:statechanged|state=Published} {remotepublish-page:MyDestination} {trigger} {workflow}

Note: The final=true parameter on the Published state is not required for remote-space publishing, however it helps to clarify which versions of content are published in the source space.

All examples

See also

External links:

Workflow Authoring Guide: