+ Start a Discussion

Accessing Selected Picklist Values per Record Type in API

I have a picklist, with a lot of values. In salesforce I can configure record types to only 'see' specific values from that picklist.
In my code, I can access that field, and get all values and populate a dropdown list.
How can I modify this so that only the values for a specific record type are returned?
The per recordtype subset of picklist values is exposed via the describeLayout call.
Thanks Simon!