Add an asset into a Batch Set Preset based on a metadata property values | Community
Skip to main content
Level 2
September 12, 2024
Question

Add an asset into a Batch Set Preset based on a metadata property values

  • September 12, 2024
  • 2 replies
  • 781 views

I wonder if there is a way to add an asset to a Batch Set Preset but instead of matching a naming convention, to match it based on a metadata property.

 

Let's say that I have Assets with a metadata property which is an array of Strings:

 

jcr:content/metadata/dam:myCodes

 

And when I upload images that has this metadata property with values:

 

 my_testing_asset_one.png

 

3025070-100 7002011-369 6036221-045

 

 

 my_testing_asset_two.jpeg

 

3025070-100

 

 

 my_testing_asset_three.tif

 

7002011-369 5234620-136

 

 

It gets assigned to a Batch Set per one of myCode, and each site in Scene7 as follows will display:

 

https://company.scene7.com/is/image/projectName/3025070-100_is?req=imageset

projectName/my_testing_asset_one, projectName/my_testing_asset_two

 

https://company.scene7.com/is/image/projectName/7002011-369_is?req=imageset

projectName/my_testing_asset_one, projectName/my_testing_asset_three

 

https://company.scene7.com/is/image/projectName/6036221-045_is?req=imageset

projectName/my_testing_asset_one

 

https://company.scene7.com/is/image/projectName/5234620-136_is?req=imageset

projectName/my_testing_asset_three

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

kautuk_sahni
Community Manager
Community Manager
September 17, 2024

@konstantyn_diachenko @aanchal-sikka @mukeshyadav_ @sherinregi-1 Would it be possible for you to take a look at this question and share your thoughts? Your input would be very helpful.

Kautuk Sahni
Level 2
September 23, 2024

Hi @konstantyn_diachenko @aanchal-sikka @MukeshYadav_ @sherinregi could you please help? Thanks in advance.

sherinregi-1
Community Advisor
Community Advisor
October 1, 2024

Hi @pabloram23 

i am not aware of any OOTB feature that you can leverage here. One option you can try out is to use dynamic media classic API's where you can search assets based on the custom metadata and then try adding to a preset batch

https://github.com/AdobeDocs/experience-manager-64.en/blob/main/help/sites-administering/scene7.md

https://experienceleague.adobe.com/en/docs/experience-manager-learn/assets/dynamic-media/tutorials/introduction-to-dynamic-media-classic-ips-api