function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
colingcoling 

How can I detect Professional or Enterprise Edition in Partner app?

Hi,

What merge field do I use to detect Professional or Enterprise - or other - Edition in a Partner app?

Thanks

CG


Ron HessRon Hess
are you trying to detect the API ?

if so, just perform an api operation and catch the return fault code in PE.

if you are trying to detect other features, i may need more details on what you are testing for.  
hemmhemm
If you have API access, you can query the Organization object to get the Salesforce Edition.  Access to the Organization object requires the user to have the View All Data permission.


colingcoling
Thanks.

The field I was looking for is OrganizationType.

CG