cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mattcst88
Regular Visitor

Office365 Users Combo Box not mapping default selected items to an office 365 user profile.

My power app has a combobox that is used to search Office365 users within my company by their display name. The default selected Items are pulled from a a data card value on another screen of the app. These default values are pulled in but they are not seen as a office 365 display name. This allows me to look that user up and select them essentially adding them in twice. If I also try to update back to that same data card that is used for the default selected items it updates with blank lines because its not seeing the original default selected items as display names. 

 

Here is my coding for the combobox:

 

mattcst88_0-1658527472333.png

 

Is anyone aware of a work around for this?

1 REPLY 1
RandyHayes
Super User
Super User

@mattcst88 

Your selections will never match with that formula in the DefaultSelectedItems property (DSI).

The DSI MUST be a record that is identical to the Items property.

Your Items property is a table of records with an Office365 User Schema.  Your DSI is a table of records with a single column called Value.  This will not match.

 

What is it that you are trying to split from DataCardValue38?  And, you are not specifying the property of that control...is it a text control, or what kind of control is DataCardValue38?

 

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,909)