Hello experts,
I am new to PCF and I have one requirement, if you can help me into the right direction.
As per the below video from Andrew, I was able to bind my lookups to show as an option sets.
https://www.youtube.com/watch?v=sF68YEO5ITY
GitHub code of Andrew - https://github.com/AndrewButenko/LookupToOptionset
Actually, we have filters on those lookups, like we have 5 lookups.
Region
Country
Province/State
City
Zip code
These filters are out of the box lookup filters. Like on selection of Region, Country will be populated.
On selection of Country, Province/State will be populated and so on..
Now, with regards to showing those lookups as an option set based on this solution from Andrew, of course these filters are not working. And all the lookup values are showing in option sets.
I want to achieve these multiple level of filtered lookups functionality within this code of Andrew.
I am not able to understand that how in single pcf control we can achieve this as every control will be shown as pcf control.
I understand, if there's first lookup control is standard lookup, let's say Region, then in pcf we can get that control from context and do the filter code in typescript in pcf.
But here we have all controls as lookup.
Can anyone please guide how to do that?