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

Urgent!!!!!!!!!! dependent picklist values
Hi Guys,
I have 2 picklists on Account. One is "Industry" -- controlling field, the other is "Sector" -- dependent field.
For example,
When I choose "IT" for Industry, the Sector will show Database, CRM sys, NetWork etc.
When I choose "Education" for Industry, the Sector will show something .....
all those above are set up in field definition in Setup.
I wonder whether there is a way to get their relationship. I mean I hope Apex can help show which picklist value in industry controlls which values in Sector.
Thanks
Any idea will be goooooooooooooooooooood!!
Hi there is noway in Apex to retreive Controller Picklist and Dependent picklist values .
You would have to use picklist.js manuplation for Dependency or you can use hardcord values
in apex page.
All Answers
Hi there is noway in Apex to retreive Controller Picklist and Dependent picklist values .
You would have to use picklist.js manuplation for Dependency or you can use hardcord values
in apex page.
Although Apex cannot show dependent picklists that are set up in the point-and-click Force.com Builder, you can programmatically recreate this in Apex code, referencing a custom object. There is sample code in the developer.force.com library.
And please do not list posts with "Urgent!!!!" in the title. Everyone feels that his/her post is urgent, and it's generally a turn-off to those who would respond to your post.