Set Settings for the Application BX24.appOption.set
BX24.appOption.set(string name, mixed value[, Function callback]): void;
The method BX24.appOption.set sets global settings for the current application.
Setting application values is only available to users with application management access permission (see BX24.isAdmin). A completion handler may be required for application settings (see the callback parameter below).
Method Parameters
Required parameters are marked with *
|
Name |
Description |
|
name* |
Parameter code |
|
value* |
Parameter value |
|
callback |
Callback after saving. The current application settings will be passed as an argument |
Code Example
BX24.init(() => {
BX24.appOption.set('param_str', 'str1', (params) => console.log(params));
BX24.appOption.set('param_numb', 1);
});
How to Use Examples in Documentation
Continue Learning
- Set Settings for User BX24.userOption.set
- Get User Settings BX24.userOption.get
- Get Application Settings BX24.appOption.get
Copied
Previous