Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Rename the Assets during the upload

Avatar

Avatar
Validate 1
Level 1
bikash_kumar306
Level 1

Likes

0 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
bikash_kumar306
Level 1

Likes

0 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
bikash_kumar306
Level 1

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

471 likes

Total Posts

1,039 posts

Correct Reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

471 likes

Total Posts

1,039 posts

Correct Reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile
Veena_Vikram
MVP

14-09-2020

Hi Bikas

      One way to do this would be to create a custom workflow launcher to listen to the uploads under your project path and as soon as an upload happens you can re-write the file name, but make sure it doesn't conflict with the DAM Update Asset Workflows.

 

Thanks

Veena ✌

Answers (1)

Answers (1)

Avatar

Avatar
Give Back 10
MVP
Varun_Shakya
MVP

Likes

121 likes

Total Posts

96 posts

Correct Reply

24 solutions
Top badges earned
Give Back 10
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Give Back 10
MVP
Varun_Shakya
MVP

Likes

121 likes

Total Posts

96 posts

Correct Reply

24 solutions
Top badges earned
Give Back 10
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile
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