Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Apex Code Development
- :
- How to create custom object using Apex?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
How to create custom object using Apex?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-28-2013 06:05 AM
Is creation of custom object possible with apex and metadata API?
Help me plz
Regards,
S.Sivakumar
Re: How to create custom object using Apex?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-28-2013 06:54 AM
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.
If this answers your query,please mark this as solution so that it would be useful for others.
Re: How to create custom object using Apex?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-28-2013 06:59 AM
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
Re: How to create custom object using Apex?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-28-2013 07:03 AM
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?
Re: How to create custom object using Apex?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-28-2013 07:39 AM
Siva,
Try using Fiddler tool to use Rest API to create custom object.You have to populate the fields and datatypes of the field.
If this answers your query,please mark this as solution so that it would be useful for others.
Re: How to create custom object using Apex?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-28-2013 08:26 AM
hey thanks, i will chck it
Re: How to create custom object using Apex?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-28-2013 08:42 AM
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.

