Add metadata while uploading assets | Community
Skip to main content
Level 2
January 16, 2024
Solved

Add metadata while uploading assets

  • January 16, 2024
  • 2 replies
  • 1890 views

At the time of uploading assets, mandatory metadata fields (It means title, description, and tags etc..,) should also be added and uploaded at dam.

 

When we press the create button and select the local asset, the dialog fields should be such that we enter the required metadata fields while entering the filename field.

 

I was planning to use overload or override the create > files > Upload Assets to make the mandatory field file name along with mandatory metadata fields. Need solution for this, if it possible give a better suggestions. Thanks for 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 Harwinder-singh

@gvk19694 You need to add a custom process step in Out of the box available DAM Update Asset Workflow.

Just ensure that your custom process step is added in the workflow model after this existing step in the model -  DAM Update Asset Workflow Completed

 

You can read through this article on how to extend the functionality of OOTB workflows by creating new process step (in your case). -- https://experienceleague.adobe.com/docs/experience-manager-65/content/implementing/developing/extending-aem/extending-workflows/workflows-customizing-extending.html?lang=en

 

 

2 replies

Harwinder-singh
Community Advisor
Community Advisor
January 16, 2024

@gvk19694 Instead, you can add this additional metadata in the asset itself and then customize the DAM asset update workflow to extract this additional metadata and populate it in a custom metadata tab in the Asset properties once the asset is uploaded in  DAM.

gvk19694Author
Level 2
January 16, 2024

Thanks for reply @harwinder-singh. Can you please elobrate the dam update asset workflow. 

Harwinder-singh
Community Advisor
Harwinder-singhCommunity AdvisorAccepted solution
Community Advisor
January 16, 2024

@gvk19694 You need to add a custom process step in Out of the box available DAM Update Asset Workflow.

Just ensure that your custom process step is added in the workflow model after this existing step in the model -  DAM Update Asset Workflow Completed

 

You can read through this article on how to extend the functionality of OOTB workflows by creating new process step (in your case). -- https://experienceleague.adobe.com/docs/experience-manager-65/content/implementing/developing/extending-aem/extending-workflows/workflows-customizing-extending.html?lang=en

 

 

Shiv_Prakash_Patel
Community Advisor
Community Advisor
January 16, 2024
gvk19694Author
Level 2
January 16, 2024

Thanks for reply @shiv_prakash_patel! Actually whatever you given solution it is a uploading assets by using CSV. So I am aware on this. But my requirement was not that. My requirement was overload the create > file > upload assets module.

Shiv_Prakash_Patel
Community Advisor
Community Advisor
January 16, 2024

Hi @gvk19694 ,

In this case, you have to customize the DAM ASSET UPDATE workflow. This workflow automatically runs when we upload any asset to the DAM.

Add a custom process step after DAM Update Asset Workflow Completed to update the 

required metadata values. In the custom process step, you can update the metadata value with the Node API or Modifable ValueMap.

Hope, this will meet your requirements

Regards,

Shiv

Shiv Prakash