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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (19,218)