Hi @panand99 ,
Apologies, I'm just a beginner.
I almost got the result. But the EmailCollection has the Person field as a whole. How do i get the Email property only from it.
Clear(Collection1);Clear(EmailCollection);ForAll(DataCardValue2_Departments.SelectedItems,Collect(Collection1,Value));ForAll(Collection1,Collect(EmailCollection,Filter(ChildList,Title=Value).HOD));
I tried adding another collection to filter out only the email, but that doesnt work.
ForAll(EmailCollection,Collect(EmailCol,HOD.Email))
Hi @Anonymous ,
Your suggestion was the simplest of all and it kind of works although with the delegation warning. Need to see how i can fix the delegation warning.
Hi @v-xida-msft ,
It took me sometime to figure out the solution you provided. It works, but with the delegation warning. I don't want to entirely use this solution as i found a simpler way.
Any suggestion on how i can fix the delegation warning?
Appreciate the help guys.
This is the solution i could come up with the suggestions you guys provided.
On the OnChange property of the Master list Department field-
Clear(Collection1);Clear(EmailCollection);
ForAll(DataCardValue_DeptChoice.SelectedItems,Collect(Collection1,Value));ForAll(Collection1,Collect(EmailCollection, LookUp(Childlist,Department_Lookup exactin Value,HOD.Email)))
Now i assigned the EmailCollection to the Items property of my Dropdown.
Regards,
Kevin