Monday, September 27, 2010

Salesforce WS API access with Professional/Group Editions

Salseforce Web Services API does not allow API support for Professional Edition(PE) and Group Edition(GE).

You can request a special ClientID allowing your composite app to integrate with PE if you pass the AppExchange Security Review.
With this ClientID it is possible to access WS API for PE.

Following data table summarizes the API access.

EditionWS API (admin user)WS API with ClientID (admin user)

Exceptions are shown in RED color.
Also note that all other editions(Enterprise Edition, Unlimited Edition, Free Edition, Enterprise Edition, Unlimited Edition) are supporting API even without the ClientID.

Thank you,
Have a nice day!

Thursday, September 23, 2010

Can you create Apex Classes through Salesforce APIs?

What do you think, Can we use Salesforce "Web Service API" or "Meta data API" to create Apex Classes?

Please check this API carefully. It is not possible to do this though Apex classes and triggers have the Create and Update field properties set to true.

Web Service API for Apex Classes says:
Although Apex classes and triggers have the Create and Update field properties set to true, a runtime exception occurs if you try to create or update them using the API. Therefore, use the Migration Tool, the user interface, or the IDE to create or update Apex classes or triggers.

Meta data API for Apex Classes says:
This metadata type is not supported by the create(), delete(), and update() calls.