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
Dippan Patel 3Dippan Patel 3 

Getting the dependent values of picklist

Hi All, 

I am using this code in apex to get the dependent values of picklist. 
http://titancronus.com/blog/2014/05/01/salesforce-acquiring-dependent-picklists-in-apex/ 

However, this code gives me time limit exceeded while loading the page. Is there any workaround in apex for the optimized and efficient code?