cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

Cascading Dropdown auto-populate people names ComboBox from SharePoint list

Hello,

 

I am creating SharePoint form which is linked to other list with Countries and Units. Each unit is assigned to Attention A/P contacts and it can be more than one person, therefore this field is a ComboBox.

 

I created cascading dropdowns for Units and Entities and these are working for single dropdown, however not for my ComboBox. It is not populating people names from my second list.

Combo1.JPG

 

My list from which I need to source the data looks like this:

Combo2.JPG

 

 

Do you have any ideas how to make this work?

 

I appreciate any hints!

Many thanks!

 

Cheers

Iweta

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Iweta ,

 

So, you want the 3 person to be selected in default, right?

If so, please try this:

1. set SelectMultiple property to true

2. apply that formula to DefaultSelectedItems property:

LookUp('HFM Mapping', 'HFM Code'='HFMCode_TBC.Selected.Value).'Attention A/P'

Hope this helps.

Sik

View solution in original post

4 REPLIES 4
Community Support
Community Support

Hi @Iweta ,

 

Do you mean you want to set the items of 'Attention A/P' based on the HFM code Dropdown selection?

Please try this:

LookUp('HFM Mapping', 'HFM Code'='HFMCode_TBC.Selected.Value).'Attention A/P'

Hope this helps.

Sik

 

Hi Sik,

 

Thanks for that, it's almost what I needed. When I applied formula you proposed,  dropdown feeds with people names but I can pick only one of them. I need this to be feeded with all the names it finds for particular HFMCode. So if on list HFM Mapping I've got 3 names, all 3 should appear in my ComboBox, not one under another but all 3 at once. Is it possible?

 

Thanks a lot!

 

Cheers

Iweta

Hi @Iweta ,

 

So, you want the 3 person to be selected in default, right?

If so, please try this:

1. set SelectMultiple property to true

2. apply that formula to DefaultSelectedItems property:

LookUp('HFM Mapping', 'HFM Code'='HFMCode_TBC.Selected.Value).'Attention A/P'

Hope this helps.

Sik

View solution in original post

Thanks a lot Sik! This is exactly what I've been looking for!

Cheers

Iweta

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (25,575)