cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

'Mass maintainence ' of Plug-in settings for users in cFolders

Former Member
0 Likes
244

Hi All

In cFolders  under settings---> General , we have a checkbox for Plug-in.

Can the cFolders admin enable the plug-in for all the users in cfolders through some mass maintainence transaction?

Pls. let me know, if you have any inputs on this.

warm regards

Kedar

View Entire Topic
Former Member
0 Likes

Hi Kedar,

Use the following path in cFolders;

User Administration > Standard Settings tab and enable the check-box. Settings on the page will apply to all users.

Cheers,

Lashan

Former Member
0 Likes

The user administration settings will help you only for the new users. for the old users try this piece of code.

DATA lp_setting TYPE REF TO cl_cfx_settings.

DATA lt_filename TYPE cfx_tt_string.

DATA l_filename TYPE string.

DATA l_value TYPE string.

CALL METHOD cl_cfx_settings_doc=>get_folder_entries

EXPORTING

i_folder_name = 'User Settings'

IMPORTING

et_file_name = lt_filename.

LOOP AT lt_filename INTO l_filename.

CREATE OBJECT lp_setting

EXPORTING

i_name = l_filename

i_folder_name = 'User Settings'.

l_value = lp_setting->get_setting(

i_key = 'UseEditPlugins'

i_default = '' ).

WRITE:/ 'FileName',l_filename,'-:Value:->', l_value .

ENDLOOP.

call method set_setting instead of get to set the value to true.