Hi TEam,
We are looking for ways to restrict upload of asset in folder where metadata schema is applied and title/description are not set, if these are set in file being uploaded then only upload the file.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @NehaCMS ,
Hope that helps!
Regards,
Santosh
Hi @NehaCMS ,
Hope that helps!
Regards,
Santosh
It will depend on the version of AEM you are using. If you are using AEM on premise, then what @SantoshSai mentioned might be one way to do it. But in AEM As Cloud, I am afraid there is no more support for DAM Update Asset Workflow. Instead they use asset microservices. I have no in-depth knowledge about the same at this point. But you can read about the same further here https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/assets/assets-cloud...
May be listeners , or servlets will be a solution.
Thanks
Veena ✌
If you need to restrict before the processing of asset below can be done
1. Write custom servlet and trigger once the asset is selected to upload
2. Extract the Metadata from the asset using some Java Metadata extractor
3. Check for the properties you want to validate
4. Return the success/failure message and then proceed to upload the asset.
Here you need to extract the Metadata from custom logic implemented in servlet
Hope this is helpful