I have different dependent pick lists. Example Pick list-1 If I select country _India then in states pick-list-2 filed there must be only Indian states.After selecting the State_Karnataka the pick-list-3 must be only for Cities in Karnataka.
I am using Lightning so for my java-script code I just need to pass controlling Field API name.
How can I access the Controlling field API name through Apex code ?
I know it can be done through Tooling API but not sure how.