You need to sign in to do that
Don't have an account?
Max641
Accessing Picklist Values
Can anyone point me to some example Apex code that performs a lookup of the metadata definition of an object?
I've searched through the documentation and the best I can come up with is that SControls use describeSObject... but I haven't been able to find an example show how this might be made to work in the controller of vPage.
My objective is to be able to create a list of valid picklist values and/or record types.
Thanks!
Leah_Seatle
The current release of Apex does not support lookup of metadata. The next release will support it.
lnryan
Does this mean it's not currently possible to discover the number of fields returned by a SOQL query? I want to have a generic vf component that will generate a column for each field of whatever SOQL query the parent object passes in...is there an alternate way to grab this information after the fact?