1

I can't really find much on the subject - is Metadata.Operations and Metadata.CustomMetadata available in Salesforce Professional and/or Essentials?

I know that simply selecting metadata like so [Select Id, My_Field__c FROM MyType__mdt]; definitely works.

1 Answer 1

2

I found this guide that states custom metadata is available in Professional, Enterprise, Performance, Unlimited, and Developer.

According to the developer documenation:

To use Metadata API, your organization must use Enterprise Edition, Unlimited Edition, Performance Edition, or Developer Edition.

It does look like you can request Metadata API access for Professional Edition:

ISV partners can request Metadata API access to Professional Edition orgs for apps that have passed the AppExchange Security Review. Access is granted through an API token (client ID). This special key enables the app to make Metadata API calls to customers’ Professional Edition orgs.

2
  • It's not entirely clear from that whether Metadata.Operations is actually Metadata API, since it is just an Apex class we are calling now? I understand that for older access via apex-mdapi (github.com/financialforcedev/apex-mdapi) you would need that, but is that needed for Metadata.Operations?
    – zaitsman
    Feb 24, 2020 at 23:21
  • That's a good point. Developer documentation for Operations Class has some examples with Metadata.Operations. Try to run one of the examples in one of those SF editions if possible.
    – Zach
    Feb 25, 2020 at 15:18

You must log in to answer this question.

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