Find your content:

Search form

You are here

Tooling API in production org

 
Share

I am already aware that you cannot directly create Apex classes in production orgs (have to use either the Force.com IDE or changesets). But if I include test cases can the Tooling API do it?

Also related question; can the Tooling API define Security Settings for classes/pages it creates as well?


Attribution to: Mossi

Possible Suggestion/Solution #1

Apologies if this is not the most definitive or conclusive answer, however I notice on page 5 of the Force.com Tooling API Developer's Guide It states:

Use create() to compile Apex classes or triggers in Developer Edition or sandbox organizations.

This would suggest to me that it may not be possible to create APEX classes in production with the Tooling API- but that is only my inference it could just refer to the specific method - No doubt someone more knowledgeable on the subject would be able to clarify this.


Attribution to: Cerbera
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/32016

My Block Status

My Block Content