Rename the Assets during the upload

Avatar

Avatar

bikash_kumar306

Avatar

bikash_kumar306

bikash_kumar306

13-09-2020

Hi All,

 

We have a requirement to append the BU(Business Unit) with Assets while uploading the asset itself automatically.

e.g i selected abc.jpg while uploading so it should stored in dam with name xyz-abc.jpg(xyz is the BU Name).

 

Please suggest the best way to achieve this.

 

Regards

Bikash Singh

View Entire Topic

Avatar

Avatar

Varun_Shakya

MVP

Avatar

Varun_Shakya

MVP

Varun_Shakya
MVP

14-09-2020

  • As Veena mentioned use Custom workflow to change the name of asset. which will change the name of the asset.
  • Just adding on to that ,you can disable the Update Asset workflow for a while while uploading the asset once the asset got uploaded you can enable it. This is for avoiding conflict with Update Asset workflow. 
  • You can call "update Asset workflow" from your own custom workflow model, after the step where you are changing the name of asset.
  • For already uploaded assets you can write groovy script to append the BU in your aseets