cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
MSweigart
Level: Powered On

O360 AD User Search No Longer Blank by Default?

I have built an app that our HR uses to alert IT about a new employee. It includes an AD lookup for HR to select the new employee's manager.

 

The app has a label field called ManagerName with Text property = UserList_1.Selected.DisplayName. UserList_1 is a gallery with Items property = Office365Users.SearchUser({searchTerm: SearchManager.Text}) and the Default property = Blank().

 

Up until a few days ago, the ManagerName label was blank when the app was first launched, and only had a name once someone was selected from the gallery. However, after I edited a different part of the app on Monday and save/published the changes, now the ManagerName label field has the first person in the gallery's name in it when the app is launched. How can I get this back to being blank until the HR person actually selects someone from the gallery?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: O360 AD User Search No Longer Blank by Default?

Based on my experience,  the default value of the Gallery.Selected should be the first item if there is no user selection.

How about changing the Default property to

""
instead of

Blank()

?

If that will not work, then please consider switch the Default property to a variable, and update teh variable value with the Gallery.selected under the OnSelect property within an icon configured inside the Gallery.

And under the OnVisible property of the screen, update the Variable value to blank() or "", doing it in this way should be able to have the ManagerName to show blank() if no user interactions.

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: O360 AD User Search No Longer Blank by Default?

Based on my experience,  the default value of the Gallery.Selected should be the first item if there is no user selection.

How about changing the Default property to

""
instead of

Blank()

?

If that will not work, then please consider switch the Default property to a variable, and update teh variable value with the Gallery.selected under the OnSelect property within an icon configured inside the Gallery.

And under the OnVisible property of the screen, update the Variable value to blank() or "", doing it in this way should be able to have the ManagerName to show blank() if no user interactions.

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (4,235)