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
- In the Roles and Permissions menu item, right-click on Permission and click New Permission.
- Give the new permission the ID
NewsManagement
. - In the drop down list, select "Workspace" and click the Add button.
Create the "Publish News" Button
- Create a new User Action called "PublishNewsButton". Its properties are:
- Current user has permission:
NewsManagement
- Current document has type:
Folder
- Current user has permission:
- 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'