DAM Rendition workflow | Rendition file name (just have width) - cq5dam.thumbnail.100.png | Community
Skip to main content
New Participant
January 30, 2016
Solved

DAM Rendition workflow | Rendition file name (just have width) - cq5dam.thumbnail.100.png

  • January 30, 2016
  • 7 replies
  • 2665 views

Hi,

 
We are using OOB CQ DAM workflow for creating renditions. We donot want to add any customization code to the workflow. 
 
We have below requirement
1) In the workflow we need to specify only width for rendition (height should be calculated automated by workflow to keep aspect ratio same). We see that in OOB workflow it has option to enter width and height. If we just enter "width" then it does not creates the rendition. This means "height" is required attribute.
 
2) Also the resulting rendition file name should only have width in it (and not <width>.<height>) We just want to specify width and height should be calculated automatically by OOB workflow to keep aspect ration same for rendition image.
 
For example:
We want the rendition file name to be 
cq5dam.thumbnail.450.png
 
Instead of 
cq5dam.resized.450.200.png (where 200 is the height)
 
Are these 2 requirement possible using OOB workflow. 
 
Thanks in advance.
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

Yeah - there is not too much documentation on with workflow. I will work with the AEM doc team to see if we can get this addressed by getting out of the box workflows documented. 

ANyhow - i did find this blog: 

http://blogs.adobe.com/contentmanagement/tag/dam-update-asset/

It looks like the workflow needs both width and height for the workflow to work. 

The only way to make it do what you want to to write a custom step and then add application logic to calculate the height. ( I know you do not want to add any customization code to the workflow). 

7 replies

New Participant
February 1, 2016

Thanks smacdonald2008 so much for looking into this.

 

Yes see if you can talk to AEM team. This will be very useful feature in OOB DAM workflow.

smacdonald2008
smacdonald2008Accepted solution
New Participant
February 1, 2016

Yeah - there is not too much documentation on with workflow. I will work with the AEM doc team to see if we can get this addressed by getting out of the box workflows documented. 

ANyhow - i did find this blog: 

http://blogs.adobe.com/contentmanagement/tag/dam-update-asset/

It looks like the workflow needs both width and height for the workflow to work. 

The only way to make it do what you want to to write a custom step and then add application logic to calculate the height. ( I know you do not want to add any customization code to the workflow). 

smacdonald2008
New Participant
February 1, 2016

Let me look into this - this is exactly what i wanted. Thanks for the information. 

New Participant
February 1, 2016

Hi,

Its this OOB workflow

http://localhost:4502/cf#/etc/workflow/models/dam/update_asset.html

Thanks for your wait. Please find all screen shot attached. This will give you idea what we are trying to do.

smacdonald2008
New Participant
February 1, 2016

I am trying to reproduce your issue. Can you post the screen shot of where you invoke it too. 

New Participant
February 1, 2016

Hi smacdonald2008,

Thanks for looking in this. I am using AEM 6.1. Let me send you the path to workflow shortly.

smacdonald2008
New Participant
February 1, 2016

What version of CQ are you using? 

Second  - can you please post the URL to the Workmodel. For example: 

http://localhost:4502/cf#/etc/workflow/models/dam/update_asset.html