Getting Started

Implement the News "Publishing" Process

Updated: January 2, 2020

This page is scheduled for review and update. Check back soon for updated content!

JSF UI Deprecation
This requires to have the JSF UI addon installed on your server that is deprecated since Nuxeo Platform LTS 2019.
Please refer to the Web UI documentation.

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:
          dc:valid: '@{CurrentDate.format("yyyy-MM-dd''T''HH:mm:ss.SSSZ")}'
        save: 'true'

We'd love to hear your thoughts!

All fields required