New MimeType section for Metadata Schema | Community
Skip to main content
October 16, 2015
Solved

New MimeType section for Metadata Schema

  • October 16, 2015
  • 2 replies
  • 1136 views

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/schemaeditors/forms/default 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.

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 Mshaji

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

2 replies

MshajiCommunity AdvisorAccepted solution
Community Advisor
October 16, 2015

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

October 16, 2015

Thanks a lot !

It's working well, problem solved :)