1. John Murphy
  2. PowerServer 2020 or older (Obsolete)
  3. Friday, 20 April 2018 06:59 AM UTC

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 @Appeon Accepted Answer Pending Moderation
  1. Friday, 20 April 2018 14:15 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # Permalink

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
  1. John Murphy
  2. Saturday, 21 April 2018 20:51 PM UTC
Thanks! Creating a local .ini file worked.

  1. Helpful
There are no comments made yet.
mike S Accepted Answer Pending Moderation
  1. Friday, 20 April 2018 13:27 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 1

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

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Friday, 20 April 2018 12:48 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 2

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

Comment
  1. John Murphy
  2. Saturday, 21 April 2018 20:48 PM UTC
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. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.