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 Force.com Migration Tool, the Salesforce.com user interface, or the Force.com 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.
Thursday, September 23, 2010
Can you create Apex Classes through Salesforce APIs?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment