Posts

Showing posts from May, 2022

How to display Multi Level Dependent Picklists in a Salesforce Lightning Web Component (LWC)

Image
   How to display Multi Level Dependent Picklists in a Salesforce Lightning Web Component (LWC)   Hi everyone!!! This is Vijaya Kumar Golla. I have been looking for a solution to display multi level dependent picklist in salesforce lightning web component, but I could not find it in anywhere in any site/blog. Here is the good news for those who are looking for solution to display multi level dependent picklists in salesforce LWC.   First I am going to cover three level dependency picklists component and then I will show you how easy to enhance it with small changes to add one more dependent picklist so that it becomes a four level dependency picklists component.   Schama Changes : In order to demonstrate this, I have created a custom object ( Customer_Address__c ) and 3 dependent picklists Country__c, State__c and City__c (Country is controlling field for State, State is controlling field for City)     Field Dependency setup for controlling field Count...