0

I am trying to define a CustomMetadata type via an API. Any (Apex, REST etc) API is ok.

So far I have only been able to create new instances of the type but I have not been able to define the type itself via an API.

Is there a way to define a CustomMetadata type through an API? ie can I use an API to achieve the same as described here

  • I have used Apex to create MetadataAPI. If you need, i can share that. – Dhanik Lal Sahni Aug 8 at 10:48
  • what you have tried so far? – logan Aug 8 at 12:20
0

You can use below solution for creating Custom Metadata Type using apex class

https://www.sfdcpanther.com/create-update-custom-metadata-using-apex/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.