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
Amit Singh 1Amit Singh 1 

create Dependent picklist using Metadata API OR apex into Object

Hi Floks,

Need urgent help in the below problem

I want to create field dependencies b/w two picklist that I already have created into my org Now the problem is that I have more than 1K values into both picklist so wandering if there is any possiblity to do this using Metdata API. I have found https://salesforce.stackexchange.com/questions/67610/manipulating-field-dependencies-with-metadata-api
Link but not sure how to use it. If there is any link or someone having code for the same scenario please help.

Thanks in advance

 
NagendraNagendra (Salesforce Developers) 
Hi Amit,

Sorry for this issue you are encountering.

May I suggest you please check with below blog post which might help you further with the above requirement. Hope this will help you resolve the issue.

Regards,
Nagendra