Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Diable rendition creation for a path

Avatar

Level 8

How to disable the rendition creation process for the following folder on dam update asset workflow

/content/dam/adventure/bike/places/dim-drawings/saltus

5 Replies

Avatar

Community Advisor

Hi @Vani1012 ,

 

Please change enable property to false for below path in CRX:
/etc/workflow/launcher/config/update_asset_create and /etc/workflow/launcher/config/update_asset_mod launchers configuration.


Hope this helps!

Thanks
Tarun

Avatar

Level 8

Hi @Vani1012 

If your requirement doesn't mandate any other steps in the OOTB dam update workflow you can update the launcher to skip this folder from executing this workflow which will help in not creating the renditions for the folder.

In the launcher update the path to  /content/dam(?!/adventure/bike/places/dim-drawings/saltus).*/renditions/original

 

Please refer the community question for reference

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-disable-dam-update-...

 

If its only to remove the rendition creation step then it will be ideal to create a custom dam update asset workflow update the Thumbnail process step (either remove or make thumbnail arguments empty ) and then configure a launcher which will execute this workflow for the above folder. 

 

Hope it helps!

Avatar

Level 8

I have updated the launcher with this path /content/dam(?!/adventure/bike/places/dim-drawings/saltus).*/renditions/original

eventhough renditions are creating

Avatar

Level 8

Hi @Vani1012 

Have you update both Update Asset - Modification and Update Asset - Create. I just tried replacing both of these similar to below screenshot and it was not creating renditions.

 

sherinregi_0-1693242425903.png

 

Avatar

Level 8

I have created all these launchers even though redirections are still generating.

Vani1012_0-1693297569758.png