Set Settings for User BX24.userOption.set

BX24.userOption.set(string name, string value): void;
        

The method BX24.userOption.set sets the value of the setting named name for the current user. The value is set immediately.

Method Parameters

Required parameters are marked with *

Name
type

Description

name*
string

Parameter code

value*
mixed

Parameter value

Code Example

BX24.init(() => {
            BX24.userOption.set('param_str', 'str');
            BX24.userOption.set('param_numb', 1);
            BX24.userOption.set('param_obj', {foo: 'bar'});
        });
        

How to Use Examples in Documentation

Continue Learning