web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Make SearchBox remembe...
Power Apps
Unanswered

Make SearchBox remember last user input

(0) ShareShare
ReportReport
Posted on by 2

Hi community!

 

I didn't find howto do this, not sure if possible but I think is good idea to improve users experience in Book a room app.

 

When the user goes to screen where it has a list of rooms list, user must choose the rooms list every time it launches the app. But I was thinking in an improvement: Remember the last search, so the user doesn't need to type same search or scroll down to find the room list every time.

 

PabloE_0-1623332021974.png

Currently searchBox default value is empty, so I want to add a default value if there is a record in some cache or persistent storage saved last input typed by the user.

 

Not sure if possible or howto resolve it, so that's main reason why I'm posting this question here.

 

Any ideas?

 

Thanks in advance to everyone who replies.

 

Categories:
I have the same question (0)
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @PabloE You can have a combination of Both. You can save the current searches in a Collection and Patch it to a Persistent storage when the user quits. When the user starts the App again, you can load the stored values into that same collection (you'll do this in the OnStart of the App or in the OnVisible of the screen) and keep adding to it as the user make more searches. 

  • PabloE Profile Picture
    2 on at

    So, the case is resolved using this?

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-savedata-loaddata

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 993

#2
Valantis Profile Picture

Valantis 675

#3
11manish Profile Picture

11manish 545

Last 30 days Overall leaderboard