function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Joseph FerraroJoseph Ferraro 

apex getdescribe() question

Hi, i'm building a custom report wizard using VF and I need to generate the list of fields for an object.  ive been reading up on apex's describe/sobject methods, but I haven't found a piece of sample code that shows how to iterate the describe result of fields, so that I could add them to a vf selectoptions component.  Can someone point me in the right direction?

Thanks in advance.
Apex Describe documentation: (link)
Potentially useful Java sample code: (link)
Jon Mountjoy_Jon Mountjoy_
You should check this out - it grabs all the fields (and puts them in a spreadsheet)
Joseph FerraroJoseph Ferraro

I actually found that right before your post and it's exactly what I needed.