Hi,
Can anyone help me how to show specific workflows only based on the site.
I have 2 sites in my application. I have to show only specific workflows and hide all other workflows in the sidekick. same to the other site. Am using AEM5.6.1
Please help me to achieve this.
Thanks in advance!!!
Sony C.
Solved! Go to Solution.
Views
Replies
Total Likes
As @lokesh mentioned, OOB you cannot restrict the workflows based on the sites.
As a solution you can override /libs/cq/ui/widgets/source/widgets/wcm/Sidekick.js file and customized the list according to the sites you have.
Workflow list using the below service /libs/cq/workflow/content/console/workflows.json?tags=wcm
Create your own service and customize the JS to use your custom service that would work for you
Views
Replies
Total Likes
As @lokesh mentioned, OOB you cannot restrict the workflows based on the sites.
As a solution you can override /libs/cq/ui/widgets/source/widgets/wcm/Sidekick.js file and customized the list according to the sites you have.
Workflow list using the below service /libs/cq/workflow/content/console/workflows.json?tags=wcm
Create your own service and customize the JS to use your custom service that would work for you
Views
Replies
Total Likes
Hi Sony,
OOB, You cannot restrict the workflows based on the sites rather you can restrict based on the Users and Permissions so that when the author logs in only the workflows for which they have the permission would be shown in the sidekick. refer [1] for the same to achieve.
[1] https://docs.adobe.com/docs/en/cq/5-6-1/workflows/wf-admin.html
If you want the behaviour for a specific site, then it should be customized at the siteadmin.js level on the logic how the list of models are fetched.
Views
Replies
Total Likes