Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Applying particular tag to assets based on extension(MIME Type) in a folder in AEM Assets.

Avatar

Level 2

Hi All,

We have a path in AEM - lets say /content/dam/folderA , whenever there is a tiff uploaded we need to assign tag - tag1 to tiffs and whenever there is a jpg uploaded we want to apply tag tag2 to it.

How can we accomplish this with metadata schemas and profiles?

I could create a metadata profile and assign a tag to everything getting uploaded into a folder, but could not figure out how would I selectively do it for one mimetype or extension.

 

I understand we could do it with a simple workflow and  a launcher at that folder, but looking if this could be done with metadata schema and profiles alone.

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi There,

 

Metadata schema allows the distinction of file types using mime type mapping but neither a folder nor a metadata profile has any binding and impact on the mime type.

It means unless you segregate the folders for separate mime type and attach needed metadata profile, you can not have separate field values getting mapped.

 

Metadata profiles are really a concept to be applied in context of folders. So the way you want to achieve is not possible unless you split the folder or use workflow based approach.

 

Thanks! 

 

 

View solution in original post

1 Reply

Avatar

Correct answer by
Level 4

Hi There,

 

Metadata schema allows the distinction of file types using mime type mapping but neither a folder nor a metadata profile has any binding and impact on the mime type.

It means unless you segregate the folders for separate mime type and attach needed metadata profile, you can not have separate field values getting mapped.

 

Metadata profiles are really a concept to be applied in context of folders. So the way you want to achieve is not possible unless you split the folder or use workflow based approach.

 

Thanks!