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
- 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.
The new permission will now be available in the list of permissions on Workspace.
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
, - Selection is not empty: checked.
- Current user has permission:
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