You need to sign in to do that
Don't have an account?
Funky_DBA
Newbie Question -- Can I run Scripts to create and populate Custom Objects
Hi
I my previous life, I used to run SQL Scripts to create and populate Tables.
Can I do the same thing to create Custom Objects ?
If not, is there another way I can avoid creating Custom Objects manually, field-by-field ?
Thanks a lot.
Barry
Yes, with the Metadata API, you can build Custom Objects and fields programmatically. More here in the docs.
Also, you can use the Force.com IDE (which uses the Metadata API), to quickly customize your org.
Hope that helps,
Sati
Thanks a lot and I really appreciate your replying so promptly.
Barry
You'll want to use the metadata api for creating the custom object types.
Then use the regular api to insert values.
There are lots of tools that will allow you to insert data quickly if you don't want to spend time writing one-off scripts. I'd recommend the Excel Connector for quickly inserting data.
Thanks a lot.
Barry