You need to sign in to do that
Don't have an account?

method like describeSObject with force.com API
Hi, I'm trying to gather all fields of Object. For instance, Name, Id, Tel, WebSite,....of Account.
I know we could do it with Force.com API - describeSObject( Account ), but do you know how to do it with Apex Code?
Please let me know if anyone knows it...
Thank you very much,
I know we could do it with Force.com API - describeSObject( Account ), but do you know how to do it with Apex Code?
Please let me know if anyone knows it...
Thank you very much,
Rumor has it the next version of apex will be able to do this, select * from, but there is no word on ETA.
Message Edited by TehNrd on 03-20-2008 01:30 PM
BTW how do all guy get meta-data dynamically with Apex Code..?
Do you know some workaround about it..?
Message Edited by cgoss on 07-24-2008 09:27 AM
Here's the exact code in case someone wants it ('cause it took me awhile to figure out) :