cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Community Support
Community Support

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
Community Support
Community Support

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

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

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (11,031)