Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
How to use the KUAFPrefs table?
Robert_Davies_(unlondonadmin_-_(deleted))
Hi folks.I want to use the KUAFPrefs table to store configuration information for a custom module which affects groups & users. Originally I was using the extendedData area of the users personal workspace, but this will be problematic now I want to extend functionality to groups.I understand that I can use a unique PrefsKeyword to identify my preferences, and store an Assoc into PrefsValue holding the information.What I am unsure about is what value I should enter for PrefsID? How are values choosen for that field? Should I use the user/group ID? I notice the table is keyed on PrefsID+PrefsKeyword so I guess this is a safe combination as long as my keyword really is unique. Am I correct?Is using KUAFPrefs the correct approach for this kind of work?Any help much appreciated.Best regards/matt.
Find more posts tagged with
Comments
EDMS_-_functional_NAM
Hello, this is exactly what we want to do, our theoretical storie is (i didnt test it yet)Weve created a user(x) wich has access to all the projects, in (x) project-overview weve added all the tabs which we like to define for all the users. In the kuafprefs table this information is stored, the user who didnt set tabs are not in this table, so with an sql command you can add all the users in this table wich are not in and copy the (x) information to it, when one of this users enters the project-overview, the accesslist will remove the projects which are not accessible. Again: WE DIDNT TESTED IT YETRegardsRuud HogenbergGroupware functional designerNAM