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

App Refreshes and Clears Filters on Gallery

I have a reporting app that I've tested without problems (with a few users), but a few bugs have cropped up after releasing it.

 

The app is a simple Search Filter -> Gallery -> Form. The Text in the Search Filter defaults to User.FullName and items in the Gallery are filtered based on a StartsWith formula. Users can clear the filter to see other users' items, but from a UX perspective I wanted them to see their items first.

 

The thing is that on loading, the app will manifest one of two behaviours:

1. It will clear the filter on the gallery, returning all items even though the default text in the search filter box is still the user name

2. When someone is typing into the search filter, the app will occasionally pop the cursor out of the box and people have to click back in the box to complete their query.

 

Both of these are somewhat minor--people can re-enter their name in the search box and the app will filter the gallery again, and people can still complete their filters by clicking back in the text bar and completing their search parameter--but it is an irritant.

 

Any ideas what might be causing this?

1 ACCEPTED SOLUTION

Accepted Solutions
Frequent Visitor

I'm trying a solution from this site.

 

Essentially, it suggests using the following command on the home page to cache the current user's name.

 

OnStart -> Set(CurrentUser, User()) 

 

Then, when calling the user name, such as in my search box' default text, I replace User().FullName with CurrentUser.FullName. It's supposed to improve functionality. I'll report back if this is the case.

View solution in original post

3 REPLIES 3
Frequent Visitor

I'm trying a solution from this site.

 

Essentially, it suggests using the following command on the home page to cache the current user's name.

 

OnStart -> Set(CurrentUser, User()) 

 

Then, when calling the user name, such as in my search box' default text, I replace User().FullName with CurrentUser.FullName. It's supposed to improve functionality. I'll report back if this is the case.

View solution in original post

Anonymous
Not applicable

hi @ShAnc - any luck with improved functionality? 

 

@Anonymous

Hi @Anonymous,

 

Yes - the solution worked. Thanks for the prompt!

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 (10,247)