× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The nice thing about that API is that the information is saved and restored along with the user profile.

On 3/23/2021 6:16 AM, Joep Beckeringh via MIDRANGE-L wrote:
Hello Patrik,

You can store user settings in the user profile with API QsyUpdateUserApplicationInfo and retrieve them with QsyRetrieveUserApplicationInfo.

If you'd like to, I can supply prototypes and code that I use myself.

Joep Beckeringh

Op 23-3-2021 om 11:48 schreef Patrik Schindler:
Hello,

sometimes, it's desirable that users on an IBM i system can modify and persistently save individual settings of applications. Example: A default sorting order for some table view. But not necessarily limited to that.

Not every user necessarily has a personal library to create a PF for saving things there. And, this approach unnecessarily clutters libraries.

Not every user necessarily has a home folder to create a file for saving things there.

What's more, depending on how a user accesses the data, these approaches might lack authority to access or update the files. AFAIK, the web server runs with a separate user profile. This is less of an issue with "local" (5250) users.

A central, application specific file would accumulate old entries (when user profiles are deleted from the system, for example).

What is the best way to save local user preferences (mainly for 5250 users of applications)? Any thoughts from the group on this topic?

Thanks!

:wq! PoC



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.