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

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Overview

The {remoteremove-page} macro is used as an Action to remove previously published content from 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
  • The {remoteremove-page} macro can remove the published content from the remote server

This is generally only required when content becomes obsolete and should be removed from the remote published content.

For more information, see: Remote-space publishing

Requirements

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 {remoteremove-page} macros can be put in a {trigger} macro.

Parameters

Parameter

Required

Default

Notes

config_name

(tick)


The name of the remote publishing configuration to use.

The configuration 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 remote Confluence instance defined by the "MyDestination" publishing configuration. Once published, the user will have an option to unpublish the page (submit=Unpublish) at which point the published page will be removed from the remote Confluence instance. From the Unpublished state, they can either republish it, or make it obsolete.

{workflow:Remote-space publishing}
   {state:Editing|submit=Review}
   {state}
   {state:Review|approved=Published|rejected=Editing}
      {approval:Review}
   {state}
   {state:Published|updated=Editing|final=true|submit=Unpublish}
   {state}
   {state:Unpublish|approved=Published|rejected=Obsolete|hidefrompath=true|updated=Editing}
      {approval:Page Unpublished|approvelabel=Republish|rejectlabel=Make Obsolete}
   {state}
   {state:Obsolete|submit=Editing|updated=Editing}
   {state}
   {trigger:statechanged|state=Published}
      {remotepublish-page:MyDestination}
   {trigger}
   {trigger:statechanged|state=Obsolete}
      {remoteremove-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:


  • No labels