AEM CQ5 Tutorials AEM CQ5 Tutorials

Show Navigation Hide Navigation
  • Home
  • Learn AEM
  • AEM Sites
  • AEM Cloud
  • AEM Assets
  • EDS
  • Troubleshooting
  • Interview
  • Test Series
  • Tools
  • Resources

Tutorials » Create Metadata Schema form for Custom MIME types

Create Metadata Schema form for Custom MIME types

Ankur Ahlawat January 16, 2018 Updated: November 4, 2026 AEM Assets, AEM Tutorials, Tutorials

✅ Supported in AEM as a Cloud Service

AEMaaCS: SupportedAEM 6.5 / 6.5 LTS: Supported

Supported in AEM as a Cloud Service; the approach in this tutorial still applies.

Related in AEM as a Cloud Service:

  • AEM as a Cloud Service Learning Path

Version status last reviewed: November 2026

Metadata Schema form based on MIME types is very useful, when we cannot apply metadata schema on a folder as it contains mixed assets (image, video, pdf etc..). I have come across this requirement multiple times where client has mixed assets in its folder and he wants to have different metadata schema for different types of assets. Like for image a different type of form and for video a different type of form.

Even sometimes requirement comes like for different type of images clients wants different type of metadata schema forms. All of this use cases can be easily handled by creating Metadata Schema form based on MIME types.

Follow below steps to create Metadata Schema form for custom MIME types:-

AEM doesn’t comes with any default metadata schema forms for png image type. In this tutorials i will show you how to create custom metadata schema forms for png image type.

Note:- You can create any custom mime types like xyz of type image/xyz or video/xyz depending on your requirement.

  • Navigate to Tools > Assets > Metadata Schema > default > image
  • Select jpeg schema form, Copy it and Enter new Metadata Schema Form name (png).
  • Click Copy.
    create-metadata-schema-forms-mime-type
  • Select png metadata schema form and edit it, to add new fields based on your requirement.
  • Lets add one text field to it.
    • Form Right side Panel Drag and drop Single Line Text component on Form.
    • Select the newly dropped component.
    • Edit the component and add a Title, placeholder text as shown.
    • Edit Map to Property from ./jcr:content/metadata/default to your property name that you want to map against it.(Like ./jcr:content/metadata/dc:title)
      Note:- Map to Property specifies the relative path/name to the asset node where it is saved in the CRX repository. It starts with “./” because indicating that the path is under the asset’s node.
    • Click Save.
      custom-metadata-schema-editor
  • Now navigate to /etc/dam/metadataeditor/mimetypemappings (/crx/de/index.jsp#/etc/dam/metadataeditor/mimetypemappings) in crx/de.
  • Add a new mimetypemapping.
    • Select mimetypemapping and create a new node of type nt:unstructured and name as png.
      add-mimetypemapping
    • Click Save All.
    • Add below properties to png node.
      • Name – exposedmimetype
        • Type – String
        • Value – image/png
      • Name – mimetypes
        • Type – String[]
        • Value – image/png
          Note:- mimetypes property defines on which mime type our metadata schema will be applied
          add-mime-types-metadata-schema-aem
  • Click Save All.

That’s it, you have created new metadata schema based on mime type. As we have created this metadata schema under default, so it is already applied on all the folders that on which default metadata schema form is applied.

Note:- Modifying a jpeg schema under default/image only modifies the metadata layout (asset properties) for assets with MIME type IMAGE/JPEG. However, if you edit the default schema, your changes modify the metadata layout for all types of assets.

To test our png mime type based  metadata schema , upload a png asset in a folder and check its properties.

test-mime-type-metadata-schema-forms

Important Points to Notice:-

  • You cannot delete the out of the box metadata schema forms in AEM Assets.
  • You can add new tabs or form items to the metadata schema form. The tabs and form items derived from the parent are in the locked state. You cannot alter them at the child level.
  • If you don’t want inherited tabs and field like BASIC, ADVANCED etc.. Create schema parallel to default metadata schema and override fields over there as shown in below screenshot:-
    apply-metadata-schema-forms

Hope this tutorial helps in increasing your knowledge.

🧪 Test yourself

  • AEM Assets quiz
  • Free AEM certification mock tests – full-length practice exams

Next step: follow the AEM as a Cloud Service learning path or browse Learn AEM.

Related

Spread the love
     
AEM 6.3 AEM as a Cloud Service Asset Metadata MIME Type Metadata Schema

Written by Ankur Ahlawat

I’m a AEM Solution Architect having 15+ years of industry experience and an active member of AEM community. Want to work together to help AEM community ? I’d love to hear from you. Just drop a mail at [email protected]

One Response to "Create Metadata Schema form for Custom MIME types"

  1. ganesh says:
    June 19, 2018 at 6:48 am

    Can you please upload adaptive forms creation

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe to AEM CQ5 Newsletter

RSS feed: Recent Posts Recent Posts

  • Replication and Sling Content Distribution in AEMaaCS December 2, 2026 Ankur Ahlawat
  • Dispatcher and CDN Cache Troubleshooting for AEMaaCS December 2, 2026 Ankur Ahlawat
  • Dispatcher SDK: Validate Dispatcher Configuration Locally December 2, 2026 Ankur Ahlawat
  • Fix Cloud Manager Pipeline Failures and Quality Gates December 1, 2026 Ankur Ahlawat
  • Fix Deprecated APIs Before Cloud Manager Pipelines Fail (Deadline: January 2027) December 1, 2026 Ankur Ahlawat
  • Bulk Upload Assets in AEM as a Cloud Service with Extract Archive (ZIP) November 30, 2026 Ankur Ahlawat
  • Cloud Manager for AEM Developers: Pipelines, Gates and Runs November 30, 2026 Ankur Ahlawat

Popular Tags

Adobe Adobe Experience Cloud Adobe Experience Manager AEM AEM 6.1 AEM 6.3 AEM 6.4 AEM 6.5 AEM 6.x AEM as a Cloud Service AEMAsCloud AEM Basics AEM Clientlibs AEM CQ5 Tutorials AEM Development AEM SDK Asset Metadata Cloud Manager Cloud Service Component core components Custom Component Dialog Dispatcher Dispatcher SDK Edge Delivery Services EDS Error Handler HTL IDE Setup Integration Interview Questions Legacy AEM 6.x / CQ5 Maven Multifield Not supported in AEMaaCS OAK Index OSGI Configuration Query Performance Sightly Sling Sling Model TarMK Template Touch UI

Trending Posts

Adobe Dumps
AEM Interview Questions
Sightly New Features
Create Website in AEM

Learn AEM

  • Learn AEM
  • AEM Sites
  • AEM Cloud
  • AEM Assets
  • Edge Delivery Services
  • Troubleshooting

Practice Tests

  • AEM Test Series
  • Certification Mock Tests
  • Topic-wise Practice Tests
  • AEMaaCS Practice Quiz
  • Browse all certification mock tests →

AEM Tools

  • All AEM Tools
  • AEM Query Converter
  • AEM OSGi Config Validator
  • AEM Dispatcher Rewrite Tester
  • JSON Formatter, Validator & Compare

About & Help

  • About Us
  • Privacy Policy
  • Contribute Us
  • Terms and Conditions

RSS feed RSS - Posts

RSS feed RSS - Comments

© AEM CQ5 Tutorials | 2026 ALL RIGHTS RESERVED

Powered by Pinboard Theme and WordPress