cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Kudo Collector
Kudo Collector

Switching Combo Box Items from Office365Users to Office365Groups

I have a combo box with an Items Property of Office365Users.SearchUser(). The Default Selected Items is varCurrentItem.Partner which is of type record coming from a SharePoint People Picker Field.

 

I am attempting to switch to Office365Groups.ListGroupMembers(GroupID) with everything else being they same.

 

The problem is with the second approach the combo box is blank, as in not showing the value from sharepoint.

 

Thoughts?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Switching Combo Box Items from Office365Users to Office365Groups

Hi @schuess3 ,

 

The data construct of table return from Office365Groups.ListGroupMembers function is different from SharePoint list Person Field.

Please try to set the DefaultSelectedItems property as below:

 

LookUp(Office365Groups.ListGroupMembers(GroupID).value,mail=varCurrentItem.Partner.Email)

 

Hope this helps.

Sik

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Switching Combo Box Items from Office365Users to Office365Groups

Hi @schuess3 ,

 

The data construct of table return from Office365Groups.ListGroupMembers function is different from SharePoint list Person Field.

Please try to set the DefaultSelectedItems property as below:

 

LookUp(Office365Groups.ListGroupMembers(GroupID).value,mail=varCurrentItem.Partner.Email)

 

Hope this helps.

Sik

View solution in original post

Highlighted
Kudo Collector
Kudo Collector

Re: Switching Combo Box Items from Office365Users to Office365Groups

That worked. Thanks @v-siky-msft for your comments! 😊

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (6,302)