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
andyCandyC 

AJAX Dependent Picklist

Does anyone have a quick example of how to read the dependent picklist metadata through the AJAX toolkit. I have got as far as reading validFor against each picklist value, but it looks empty - I'm guessing I'm casting it incorrectly somehow ?

I'm using beta3.3 and I am also trying to loosely follow the documentation for the Java version in the API docs.

Cheers
Andy

joe-kizayjoe-kizay
Has this issue ever been resolved? Seems that I got to the same point and validFor is empty. Looking at the code in the toolkit, it looks like validFor is never populatated. Is there a workaround? Am I missing something?
Greg HGreg H
Has anyone been able to figure this out?  This could be very useful.
-greg
Vijay RautVijay Raut

Hello ,

I am also encoutered same problem. So anyone of you have done this or found solution for same then please reply to this post.

Thanks in Advance.