Guides and Tutorials

Implement the News "publishing" process

Updated: October 16, 2020

In this section, we will:

  • create the NewsManagement permission that will be given to user we want to be able to publish news,
  • create a "Publish news" button that will be available in the folder to enable bulk publishing.

For this section, it is recommended to take a look at the Use Content Automation how-to for a step-by-step approach.

Create the NewsManagement permission

  1. In the Roles and Permissions menu item, right-click on Permission and click New Permission.
  2. Give the new permission the ID NewsManagement.
  3. In the drop down list, select "Workspace" and click the Add button.

The new permission will now be available in the list of permissions on Workspace.

Create the "Publish News" button

  1. Create a new User Action called "PublishNewsButton". Its properties are:
    • Current user has permission: NewsManagement,
    • Current document has type: Folder,
    • Selection is not empty: checked.
  2. Create the operation chain PublishNewsChain:

    Step Operation Parameter 1 Parameter 2
    1 Fetch > UI Selected documents    
    2 Document > Filter List lifecycle: project  
    3 Document > Follow Life Cycle Transition value: approve  
    4 Document > Update Property value: @{CurrentDate.date} xpath: dc:valid