You need to sign in to do that
Don't have an account?
Tooling API - Creating Custom Fields Programatically
Hi Guys,
I have a requirement where i have to create almost 50 fields. I came to know that it is possible using MetaData API and tried to create and it is working fine. But the code i got from gitHub is very big and its almost impossible to edit it as the browser hangs whenver i open the class.
Recently i came to know that it is Possible to create fields using TOOLING API. I read the documentation given by Salesforce.com.when i try to create a instance of Apexclass , it is working fine (Apexclass a=new ApexClass();).
But the same logic is not working for customFields. Is there any other way that we should follow for creation of CustomFields?
CustomField c=new CustomField(); --- THIS DOES NOT WORK ! ! Seems there is no such table named CustomField.
Please help