You can't create custom object via Apex,however,you can create it using Rest Metadata API.You have to get Rest Metadata API enabled in your org by contacting support.
Hey thanks. I need to solve this problem. Plz help me
I have custom object Opportunity_CRM__c. Once i upload the data into it i have to create another custom object test__c automatically with employee_id__c as one field.?(i.e dynamically i have to create the custom object) can any one give me the logic to implement this?
I tried a lot to get Metdata API for my developer account. But I cant understand the steps posted either on net or SFDC articles..So can you explain me in detail, to create custom object using metadata API in developer edition?
Siva,
You can't create custom object via Apex,however,you can create it using Rest Metadata API.You have to get Rest Metadata API enabled in your org by contacting support.
Hey thanks. I need to solve this problem. Plz help me
I have custom object Opportunity_CRM__c. Once i upload the data into it i have to create another custom object test__c automatically with employee_id__c as one field.?(i.e dynamically i have to create the custom object) can any one give me the logic to implement this?
regards,
S.Sivakumar
I tried a lot to get Metdata API for my developer account. But I cant understand the steps posted either on net or SFDC articles..So can you explain me in detail, to create custom object using metadata API in developer edition?
Siva,
Try using Fiddler tool to use Rest API to create custom object.You have to populate the fields and datatypes of the field.
hey thanks, i will chck it
hey have you used fiddler tool? i find it difficult to use it. So can you guide me to use metadata API using fiddler tool.