1. John Murphy
  2. PowerServer Web
  3. Friday, 20 April 2018

I am testing PowerServer and the .ini file works fine for getting static info that I have set. I also user GetProfile and SetProfile for data the client selects and this does not seem to keep values.  Ho can I let the user set and keep values?

Accepted Answer
Chris Pollach Accepted Answer Pending Moderation
0
Votes
Undo

Hi John;

     The INI files that you deploy via PowerServer can be updated and will save the information that you set via the SetProfile() command. Just remember though that the INI file will be re-deployed to the App users when you redeploy a new version of your App to PowerServer. So in order to keep INI values across App updates, I would use an INI file that the App created that is not deployed via PowerServer. That way, the INI values will stay intact.

HTH

Regards .... Chris

Comment
Thanks! Creating a local .ini file worked.

  1. John Murphy
  2. Saturday, 21 April 2018
There are no comments made yet.
  1. Friday, 20 April 2018
  2. PowerServer Web
  3. # Permalink
mike S Accepted Answer Pending Moderation
0
Votes
Undo

registry functions are supported in the web version (but are not fully supported for IOS mobile)

Comment
There are no comments made yet.
  1. Friday, 20 April 2018
  2. PowerServer Web
  3. # 1
Roland Smith Accepted Answer Pending Moderation
0
Votes
Undo

I would store the settings in a generic settings table in the database.

Comment
I have moved almost everything to the DB that i have historically put in .ini files but this is for the userid to default into the login box. 

  1. John Murphy
  2. Saturday, 21 April 2018
There are no comments made yet.
  1. Friday, 20 April 2018
  2. PowerServer Web
  3. # 2
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.