[opencms-dev] Where is the user preference regarding the file upload mechanism stored?

Mathias Lin mail at mathiaslin.com
Fri Aug 24 16:58:17 CEST 2012


I found it. In order to set the java applet as the default uploader, instead
of the GWT uploader, this is the sql for it:

replace into CMS_USERDATA (USER_ID,DATA_KEY,DATA_VALUE,DATA_TYPE) VALUES
('c300ba5c-01e8-3727-b305-5dcc9ccae1ee','USERPREFERENCES_workplace-generaloptionsuploadapplet','applet','java.lang.String');

where the user_id of course has to be replaced with whatever the user_id of
the respective user is that you want to change the user settings for.



Mathias Lin wrote:
> 
> When migrating a site from v7 to v8 and importing users, I found that
> the uploader setting in the preferences are not kept (i.e. set to java
> applet), but it's set to the GWT uploader for all users.
> So I look into the cms_userdata table, but can't find anything where I
> could change the setting that defined which uploader the user uses.
> 
> In the cms_userdata table, I only see the
> 'USERPREFERENCES_workplace-generaloptionsuploadapplet' entries, but
> it's only a boolean; so how do I set that the user shall use Simple,
> Applet or GWT as the upload method?
> 
> Thanks.
> Mathias
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
> 
> 
> 
> 
> 
-- 
View this message in context: http://old.nabble.com/Where-is-the-user-preference-regarding-the-file-upload-mechanism-stored--tp34243584p34344584.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list