Tutorials

Implement the News "Publishing" Process

Updated: March 18, 2024

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 guide 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
  2. Create the operation chain PublishNewsChain:
    - Seam.GetSelectedDocuments
    - Document.Filter:
        class: Any
        lifecycle: project
    - Document.FollowLifecycleTransition:
        value: approve
    - Document.Update:
        properties:
          dc:valid: '@{CurrentDate.format("yyyy-MM-dd''T''HH:mm:ss.SSSZ")}'
        save: 'true'