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

Let the User define Default values so they appear every time he enters the app again

Hi,

 

I want the user of my app to select default settings (for example the country in which he is working) so the app can recognize those settings every time he enters the app.

 

So imagine:

 

First day that I am using the app: 

I go to settings.

Select the country in a textinput box(Germany, for example). 

Close the app.

-----

Second day that I use the app.

Go to settings and in the textinput box is still my country typed (Germany) and it is going to be like that forever until I change it using the textinput box again.

 

I tried to make the default text of the text input box variate with the country that I type in the box. But it does not work.

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User III
Dual Super User III

The problem is that the app has no persistent storage.  So you'll need to have a data source where the user preferences can be stored along with the userID for a key. Then when a user re-enters the app you retrieve the values from that data source using the current user as the key.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

1 REPLY 1
Dual Super User III
Dual Super User III

The problem is that the app has no persistent storage.  So you'll need to have a data source where the user preferences can be stored along with the userID for a key. Then when a user re-enters the app you retrieve the values from that data source using the current user as the key.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Helpful resources

Announcements
News & Announcements

Community Blog

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

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (8,220)