I am trying to create Custom Metadata Type records in my Developer Org (Winter 17) but the edit record page is blank. Upon hitting save, I get validation errors about missing fields.

My understanding is I should also be able to make these from my IDE but Mavensmate has been unable to pull my Custom Types.

enter image description here

Has anybody successfully been working Custom Metadata Types?

  • I am able to successfully create the custom metadata types in a developer org and edit the custom metadata type . Oct 18, 2016 at 1:51
  • @MohithShrivastava have you been able to create records for that custom metadata type in the UI? I am seeing the same error as above where the record edit screen contains no fields, then validation errors are thrown on save.
    – dsharrison
    Oct 18, 2016 at 2:40
  • I'm not sure how you managed to make it completely blank; it should have at least four fields on the screen you can't remove. Check your page layout and see if you can add the fields to the layout (Setup > Develop > Custom Metadata Types > (Label) > Page Layouts > Edit (Layout Name).
    – sfdcfox
    Oct 18, 2016 at 3:30
  • Does your CMT have a relationship field? Oct 18, 2016 at 14:06
  • @sfdcfox There were no page layouts for the Custom Metadata Type and therefore no layouts were assigned for any profiles for the CMT. Adding a layout and assigning it to the correct profile fixed the issue.
    – Nicolas S
    Oct 18, 2016 at 18:09

1 Answer 1


As @sfdcfox mentionned above, this issue had to do with the lack of page layouts for the Custom Metadata Type.

  • The steps to fix this are the following: Create a page layout with all the necessary fields. (Setup > Custom Metadata Types > View [MyCustomMetadata] > Page Layouts > New)
  • Assign the layout to the relevant Profiles. (Setup > Custom Metadata Types > View [MyCustomMetadata] > Page Layouts > Page Layout Assignment)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .