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 |
Description |
|
name* |
Parameter code |
|
value* |
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
- Get User Settings BX24.userOption.get
- Set Settings for the Application BX24.appOption.set
- Get Application Settings BX24.appOption.get
Copied
Previous