Hi All, I am looking for solution to show workflow in the Timeline for any particular folder in the DAM. The timeline shows the workflow for any digital asset but for folder type and shows a message(The timeline is not available for the selected item type.) under it.
Please suggest if we can somehow customise it to show the workflow for the activation of the folder and files under it in one go.
Solved! Go to Solution.
Solution to you problem could be (Not Sure), Creating a custom workflow and setting an event listener on the folder or node (which you would like may it be page/Folder/Asset) and performing your task.
Custom Workflow :- https://helpx.adobe.com/experience-manager/using/creating-custom-aem-workflow-steps.html
Accessing CQ nodes using JCR API :- https://helpx.adobe.com/experience-manager/using/programmatically-accessing-cq-content-using.html
Event Listnel Example :- https://helpx.adobe.com/experience-manager/using/tagmanager.html
I hope you could use these to workout with your use-case.
'Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
Can you please explain your use case in more detail.
Views
Replies
Total Likes
Hi, On the home page (http://localhost:4502/projects.html), select Assets tab and then choose any asset folder. Click on select(icon) and then click on the asset folder. Then click on Timeline, Under the Show all, there is an option to select the workflow to run. On click of the workflow, it doesn's show the workflows list. Which I can use for activation of the folder and its assets. Please let me know if anything is not clear
Ok - yeah workflows are only applicable to assets - not folders.
Solution to you problem could be (Not Sure), Creating a custom workflow and setting an event listener on the folder or node (which you would like may it be page/Folder/Asset) and performing your task.
Custom Workflow :- https://helpx.adobe.com/experience-manager/using/creating-custom-aem-workflow-steps.html
Accessing CQ nodes using JCR API :- https://helpx.adobe.com/experience-manager/using/programmatically-accessing-cq-content-using.html
Event Listnel Example :- https://helpx.adobe.com/experience-manager/using/tagmanager.html
I hope you could use these to workout with your use-case.
'Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
Hi Sandeep,
Workflow can be applied at each resource level, I dont think you have start the workflow in bulk (at a folder level) OOB.
For that, you may have to overrirde the 'Workflow' action and if its a folder, start the workflow for each resource (asset) individually.
Views
Replies
Total Likes
Views
Likes
Replies