Arbitrary user settings  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Arbitrary user settings

Postby pricerc » Tue Jun 18, 2019 4:22 pm

Other than adding a custom field, is there any way of saving an arbitrary setting for a user?

In particular, I'm wanting to save some form values as defaults for later use, but creating a whole custom field seems overkill for something that will only apply to some users.

Otherwise, I'm going to add a dictionary that I can serialise to a single custom field.
/Ryan

ERP Consultant,
Advanced ERP Limited, NZ
https://aerp.co.nz
User avatar
pricerc
Senpai
Senpai
 
Posts: 504
Joined: Mon Aug 10, 2009 12:22 pm
Location: Auckland, NZ
Topics Solved: 20

Re: Arbitrary user settings  Topic is solved

Postby Scott.Pearce » Tue Jun 18, 2019 4:37 pm

Have a look at Manager.Database.SaveUserSetting() and Manager.Database.ReadUserSetting(),
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 742
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 221


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 4 guests

cron