Versions Compared

Key

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

...

Different-space publishing allows you to edit draft content in one space, and then publish it to another space on the same server.

...

Image RemovedImage Added

The Comala Publishing app must be installed to enable different-space publishing.

...

The publishing is triggered by an action macro, {publish-page}, which must be used in a {trigger}.

Code Block
languagetext
{workflow:name=Different-space Publishing}
   {state:Editing|submit=Review}
   {state}
   {state:Review|approved=Published|rejected=Editing}
      {approval:Review|assignable=true}
   {state}
   {state:Published|final=true|updated=Editing}
   {state}
   {trigger:statechanged|state=Published}
      {publish-page}
   {trigger}
{workflow}

The example markup above based on the example from Samesame-space publishing, but we've added the {trigger} at the bottom. When the state changes to Published, the trigger is activated and the {publish-page} macro instructs the Comala Publishing app to synchronize the published content with the other space.

...

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "concept-publishing" and space = currentSpace ( ) and parent ancestor = "64281679136832882294"