Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

New MimeType section for Metadata Schema

Avatar

Former Community Member

Hi,

I am trying to implement a specific form for a metadata "folder" that is not image, video or application. My mimetype is model/obj

The problem is that when I create a folder in http://localhost:4502/libs/dam/gui/content/metadataschemaeditor/schemalist.html/dam/content/schemaed... called "model" then the form under, named "obj", my .obj file edition view does not change.

By the while, model/obj is really the mime type of my file, since it was taken in consideration in old asseteditor in AEM 5.6.

Is there a folder where i have to mention the "model" mime type ? 

I already tried /libs/dam/content/schemaeditors/forms/default, and also added obj in /etc/dam/metadataeditor/mimetypemappings. No effect. Adding png form with specific tabs under image mimetype works fine.

1 Accepted Solution

Avatar

Correct answer by
Level 9

You can link MIME type to extensions by going to the OSGI console at http://localhost:4502/system/console/configMgr and to the Apache Sling MIME type Service configuration. There, you can add new MIME / extension link:

MIME extensions... model/my.obj obj

If you need to handle metadata and how your mimetype are stored in dam, you might have to write custom metadata handler.

Please look into more details at

http://docs.adobe.com/docs/en/cq/current/dam/dam_media_handlers.html

View solution in original post

2 Replies

Avatar

Correct answer by
Level 9

You can link MIME type to extensions by going to the OSGI console at http://localhost:4502/system/console/configMgr and to the Apache Sling MIME type Service configuration. There, you can add new MIME / extension link:

MIME extensions... model/my.obj obj

If you need to handle metadata and how your mimetype are stored in dam, you might have to write custom metadata handler.

Please look into more details at

http://docs.adobe.com/docs/en/cq/current/dam/dam_media_handlers.html

Avatar

Former Community Member

Thanks a lot !

It's working well, problem solved :)