voltmx Namespace
The voltmx namespace provides the following API elements.
Functions
The voltmx namespace provides the following functions.
voltmx.convertToBase64
Converts rawbytes (returned by the camera or the encryption API) to a base64 encoded string.
Syntax
Input Parameters
Parameter | Description |
---|---|
rawbytes | The rawbytes that you want to convert to an encoded base64 string. These rawbytes can be those that are returned from a camera or the encryption API. The datatype for the rawbytes differs per platform |
Example
Return Values
The encoded base64 string that was converted from the provided rawbytes. This converted encoded base64 string can be displayed on the screen to the user whenever required as this string is readable. If the conversion could not be performed, this function returns null
.
Exceptions
An error is thrown if the input type is invalid or follows an unexpected structure.
102-Invalid input error
Remarks
The rawbytes returned by the camera or the encryption API are a set of junk characters that are not readable. When you want to display this data in a readable format to the user, you can use this API.
Platform Availability
Available on all platforms except Desktop Web and Server Side Mobile Web.
voltmx.convertToRawBytes
Provides your app with the ability to read rawbytes from a base 64 encoded string.
Syntax
Input Parameters
Parameter | Description |
---|---|
base64String | The base64 encoded string from which you want to read the rawbytes. |
Example
Return Values
This API returns the modified rawbytes of the image. The data type of the rawbytes varies per platform. In JavaScript, there is no specific type for rawbytes and every platform represents the rawbytes in a unique way.
If the base64String parameter does not contain a valid value, this function returns null
.
Exceptions
An error occurs if input type is invalid or does not follow the expected structure.
Platform Availability
Available on all platforms except Desktop Web and Server Side Mobile Web. On SPA, reading base64 from an image src is not supported, but you can read the base64 from an image which is displayed through base64.
voltmx.evaluateJavaScriptInNativeContext
The voltmx.evaluateJavaScriptInNativeContext API enables a web app JavaScript module, which is running in the Browser widget, to execute JavaScript code in the Volt MX native context. This API works only when the enableNativeCommunication property of the Browser / CordovaBrowser widget is set to true.
Note: This API is applicable for the widgets Browser and CordovaBrowser.
Syntax
Input Parameters
Parameter | Description |
---|---|
methodName | The name of the function executed in native context. The function name must be provided as a string. Further, the definition of the function must be provided in the Modules section of the application. |
args | The array of arguments passed to the function given in the methodName parameter.The array must be converted to string using JSON.stringify function before passing it to the args parameter. |
Example
Example 1
Example 2
Example 3
Return Values
None
Platform Availability
- iOS, Android, Windows, SPA, and Desktop Web
voltmx.getError
Retrieves an error object from a handle to the error object.
Syntax
Input Parameters
Parameter | Description |
---|---|
error | An object that is either the Original Error object or a handle received in try/catch block. |
Example
Return Values
Returns the JavaScript error object.
Exceptions
If the input type is invalid or there is an unexpected structure.
Remarks
Use getError APIs for cross platform applications to handle exceptions consistently.
Platform Availability
Available on all platforms except Windows.
voltmx.props.getProperty
This API is used to access parameters from an external properties file.
Syntax
Input Parameters
Parameter | Description |
---|---|
group | Set this to null. Reserved for future use. |
key | A string containing the key for the property value your app needs to retrieve. |
Example
Return Values
Returns a string containing the property value that matches the given key, or null if there is no value matching the given input key in the properties file.
Remarks
All the external properties files must be appended to the <appID>.properties
file and be deployed at the following folder on the Volt MX Iris Application Server:
<middlewarehome>\middleware\middleware-bootconfig\tc\<appID>.properties
Platform Availability
Available on Mobile Web and SPA.
voltmx.print
Prints debugging output.
Syntax
Input Parameters
Parameter | Description |
---|---|
myString | Specifies the string to be printed. |
Example
Return Values
None.
Remarks
If any other type of argument is passed a string representation of that input is passed. It prints the value to the Standard Output specific to the platform. It prints their values to stdout, using the tostring
function to convert them to strings. print is not intended for formatted output, but only as a quick way to show a value, typically for debugging. For formatted output, use string.format
.
Platform Availability
Available on all platforms.
voltmx.runOnMainThread
This API helps you run the JavaScript code on the main thread. It is an asynchronous API. It posts a message to the main thread to invoke a function f with parameters arguments.
Note: If runonMainThread is invoked in a JavaScript function that is already running on the main thread, then the function is executed in synchronous mode.
Syntax
Input Parameters
Parameters | Description |
---|---|
f [Function] - Mandatory | Specifies the callback function that must be executed. |
args [Array] - Mandatory | Specifies the JavaScript array that holds the parameters to be passed to function f. |
Example
Return Values
None
Platform Availability
- Android
- iOS
voltmx.runOnWorkerThread
Provides apps with multithreading capabilities.
Syntax
Input Parameters
Parameters | Description |
---|---|
f | Specifies the callback function that must be executed. |
args | Specifies an array that holds the parameters to be passed to the function indicated by the f parameter. |
Example
Return Values
None.
Remarks
This function helps you run JavaScript code asynchronously on a worker thread. It posts a message to the worker thread that owns the current JavaScript context to invoke the function specified in the f parameter.
Important: The assumption here is that main thread does not own any JavaScript context. The VM/closure thread and worker threads own the JavaScript context. When the voltmx.runOnWorkerThread is invoked from the main thread, a message is posted to the thread that originally invoked the voltmx.runOnMainThread. If the runonWorkerThread is invoked in a JavaScript function that is already running on the worker thread, then the function would be executed in synchronous mode.
Platform Availability
- Android
- iOS
voltmx.screenshot
You can use the voltmx.screenshot API to capture the whole web page or screen of your application.
Syntax
Input Parameters
config
The config parameter consists of a JavaScript object. It contains the following attribute.
Parameter | Description |
---|---|
callback | This parameter contains the function that is invoked when the screen capture is complete.The syntax of the callback parameter is as follows:{"callback":function(imageData){}}; Here, the_imageData_ parameter contains the base64 String of the screenshot. callback is a mandatory parameter. |
Example
Return Values
None
Important Considerations
- When you use the voltmx.screenshot API to get a screenshot of your web browser, the screen capture does not include the images and videos that use an external URL.
- When you use the voltmx.screenshot API to get a screen capture, the scrollable containers (such as FlexScrollContainer and Segment) do not display the whole content. The screen capture only displays the content within the height of the scrollable containers.
Platform Availability
- Desktop Web (Google Chrome (v72 and later),Mozilla FireFox (v66), Opera (v60), Microsoft Edge, and Safari).
voltmx.type
This API retrieves the data type of the specified input. The possible return values in JavaScript are:
- string
- number
- boolean
- function
- userdata - not JavaScript type but the platform specific type that platform returns and consumes like rawBytes.
- In case of voltmx custom objects, this API returns the fully qualified name of the class from which object is instantiated. for e.g voltmx.ui.Form2
- null
Use the typeof operator instead of voltmx.type to achieve the same result. If the typeof operator cannot be used, use voltmx.type instead.
Syntax
Input Parameters
Parameter | Description |
---|---|
variable [String] or [Number] or [Boolean] or [Function] - or [userdata] or nil/null - Mandatory | Specifies the value for which you want to retrieve the data type. |
Example
Return Values
returnValue [String]
Returns a string that determines the data type of the specified input. Possible values are:
Return Value | Description |
---|---|
string | this value is returned when you pass a string as the input parameter. |
number | this value is returned when you pass a number as the input parameter. |
boolean | this value is returned when you pass a boolean value as the input parameter. |
function | this value is returned when you pass a function as the input parameter. |
userdata | this value is returned when the input parameter is not a string, number, boolean or function.> Note: Any data type which is not a string, number, boolean, or function is treated as userdata. |
null/nil | this value is returned when the variable is assigned null/nil |
- In case of voltmx custom objects, this API returns the fully qualified name of the class from which object is instantiated. for e.g voltmx.ui.Form2. When you pass any custom / built in JSObject to this API, it should return the name of the custom JSObject.
Platform Availability
Available on all platforms.
voltmx.web.WebAuthenticationSession
This API helps you to manage the sharing of a one-time login credentials between the Safari web browser and an app. The one-time login credentials can also be used to automatically log on to associated apps. The voltmx.web.WebAuthenticationSession API is available from V9 SP2 onwards.
In addition, this API facilitates a single sign-on (SSO) experience when used with standards such as OAuth. It puts users in control of whether they want to use their existing logged-in session from Safari browser.
When users try to authenticate an URL from your application by using this API, the API displays an alert containing two buttons: Continue and Cancel. The following scenarios can occur when the Login screen of the web service is displayed:
- If the user taps Continue, one secure controller will be opened with authenticationURL. If the user has already authenticated the URL in Safari browser, it calls the redirectionURL (the URL scheme that points to this app), which is then passed in the API.
- If the user cancels the alert, the session will be canceled and the constants.WEB_AUTH_SESSION_ERROR_CANCELLED_LOGIN error message will be displayed.
- If the user taps Cancel, the session will be canceled and the constants.WEB_AUTH_SESSION_ERROR_CANCELLED_LOGIN error message will be displayed.
This will also dismiss the view controller that displays the login page of the web service.
Syntax
Input Parameters
Parameter | Description |
---|---|
authenticationURL | A String that points to the authentication web page. After the authentication process is complete, the server/service sends a callbackURL along with an authentication token to the completion handler. The authenticationURL parameter only supports URLs with http:// or https:// schemes. |
redirectionURL | A String URL scheme. This is a redirection URL for the app to receive callbacks when the authentication process is complete. |
callbackfun | A callback function with one argument. It is a dictionary with callbackURL and errorCode keys. The argument is invoked when the session is either completed successfully or is canceled by the user. If the session is successful, the errorCode value is null and the callbackURL is sent to the callback. If the session fails or is canceled, the callbackURL value is null and the respective errorCode value is sent to the callback. |
Methods
Method | Description |
---|---|
session.start() | Returns boolean value (yes/no), based on whether the session starts successfully or if it fails to start. |
session.cancel() | Cancels the session. |
Example
Return Values
None
Platform Availability
- iOS
voltmx.nosql APIs
Available Constants
Constant | Used in |
voltmx.nosql.AND | condition.addRule or condition.addCondition API. |
voltmx.nosql.OR | conditionInstance.addRule or conditionInstance.addCondition API. |
voltmx.nosql.EQ | While instantiating voltmx.nosql.Rule class, represents "=" operator. |
voltmx.nosql.NEQ | While instantiating voltmx.nosql.Rule class, represents "!=" operator. |
voltmx.nosql.GT | While instantiating voltmx.nosql.Rule class, represents ">" operator. |
voltmx.nosql.GTE | While instantiating voltmx.nosql.Rule class, represents ">=" operator. |
voltmx.nosql.LT | While instantiating voltmx.nosql.Rule class, represents "<" operator. |
voltmx.nosql.LTE | While instantiating voltmx.nosql.Rule class, represents "<=" operator. |
voltmx.nosql.READ | voltmx.nosql.openTransaction API. The voltmx.nosql.READ constant specifies that the transaction is to be opened in read mode. |
voltmx.nosql.READ_WRITE | voltmx.nosql.openTransaction API. The voltmx.nosql.READ_WRITE constant specifies that the transaction is to be opened in read/write mode. |
voltmx.nosql.ASCENDING | result.sort API. The voltmx.nosql.ASCENDING constant sorts the records in ascending order. |
voltmx.nosql.DESCENDING | result.sort API. The voltmx.nosql.DESCENDING constant sorts the records in descending order. |
Functions
Note: Performing update, delete, or fetch operations on a table that contains a large number of records may have an affect on the performance when the condition object contains more than one rule/condition.
Note: Usage of Boolean values in the condition object may also cause a performance issue. You must use either 0/1 or ‘false’/’true’, instead of Boolean false/true.
The functions of the voltmx.nosql Namespace are as follows.
voltmx.nosql.addRecords
Replaces a record if the primary key matches, else the record is added.
Syntax
Input Parameters
Parameter | Description |
---|---|
transactionObject | The object returned by voltmx.nosql.openTransaction API. |
tableName | The table on which the insert operation is to be applied. |
records [Array]: [{},{},{}] | Array of rows containing key-value pairs that are to be inserted in the table. |
Example
Return Values
Promise.
-
Resolve parameter: none
-
Reject parameter: errorObject {errorMsg:” “, errorCode: “ “}
Platform Availability
- SPA
- Desktop Web
voltmx.nosql.addOrReplaceRecords
Replaces a record if the primary key matches, else the record is added.
Syntax
Input Parameters
Parameter | Description |
---|---|
transactionObject | The object returned by voltmx.nosql.openTransaction API. |
tableName | The table on which the addOrReplace operation is to be applied. |
records[Array]: [{},{},{}] | Array of rows containing key-value pairs that are to be added or replaced. |
Example
Return Values
Promise.
-
Resolve parameter: none
-
Reject parameter: errorObject {errorMsg:” “, errorCode: “ “}
Platform Availability
- SPA
- Desktop Web
voltmx.nosql.clearTable
Clears the existing data in a table in the callback of openTransaction API.
Syntax
Input Parameters
Parameter | Description |
---|---|
transactionObject | Object returned in callback of openTransaction API. |
tableName | The name of the table for which the data is to be cleared. |
Example
Return Values
Promise.
Platform Availability
- SPA
- Desktop Web
voltmx.nosql.closeDatabase
Closes the database connection.
Syntax
Input Parameters
Parameter | Description |
---|---|
dbObject | The dbObject returned in successcallback of voltmx.nosql.openDatabase API |
Example
Return Values
Promise.
-
Resolve parameter: none
-
Reject parameter: errorObject {errorMsg:” “, errorCode: “ “}
Platform Availability
- SPA
- Desktop Web
voltmx.nosql.createIndices
Creates indices for the specified table in the database. You can only create indices in the upgrade callback of an open database.
Syntax
Input Parameters
Parameter | Description |
---|---|
dbObject | The object that is returned in the upgradecallback parameter of voltmx.nosql.openDatabase API. |
tableName | The name of the table for which the indices are to be created. |
indexes[Object] | Indexes to be created on the specified table. |
Example
Return Values
Return Value | Description |
---|---|
Promise | This value has the following parameters:Resolve: The Resolve callback is executed if the indices are created successfully on the table.Reject: Reject callback is executed if any error occurs. An error occurs when index is being created while it already exists.errorObject {errorMsg:” “, errorCode: “ “} |
Platform Availability
- SPA
- Desktop Web
voltmx.nosql.createTable
Creates a table (object store) in the indexed database. You can only create tables in the upgradebcallback.
Syntax
Input Parameters
Parameter | Description |
---|---|
dbObject | The object that is returned in the upgradecallback parameter of voltmx.nosql.openDatabase API. |
tableName [String] | The name of the table to be created. |
config [Object] | Stores the following optional properties:primarykey: [String]; If primarykey is of single value.[Array]; If primarykey is of composite value.indexes [Object]: Indexes to be created along with metadata.autoIncrement [Boolean]: If you set this property as true and do not specify the primarykey value while inserting a record, the primarykey value is generated automatically. |
Example
Return Values
None.
Remarks
-
If there is any error in creating a table, you will be directed to the reject callback.
- If you successfully create a table, you will be directed to the success callback of openDatabase API.
-
Error in the creation of the table results in any one of the following scenarios:
-
If the database already exists: roll-back to the previous version of database occurs.
-
If this is the first version of the database: no new database is created.
-
-
The autoIncrement property is not applicable when the primarykey is of composite value.
-
Unlike SQL, you do not need to specify all properties but only the one you wish to index.
- Do not index properties that contain images, movies, or large-sized strings. Store them in IndexedDB, but do not index them; it may affect the performance.
Platform Availability
- SPA
- Desktop Web
voltmx.nosql.databaseExists
Specifies whether the required database exists or not.
Syntax
Input Parameters
Parameter | Description |
---|---|
dbName | The name of the database that you want to verify if it exists. |
Example
Return Values
Promise.
-
Resolve parameter: true if database exists; else, false
-
Reject parameter: errorObject {errorMsg:” “, errorCode: “ “}
Platform Availability
- SPA
- Desktop Web
voltmx.nosql.deleteDatabase
Deletes an existing database.
Syntax
Input Parameters
Parameter | Description |
---|---|
dbname | Name of the database to be deleted. |
Example
Return Values
Promise.
-
Resolve parameter: none
-
Reject parameter: errorObject {errorMsg:” “, errorCode: “ “}
Platform Availability
- SPA
- Desktop Web
voltmx.nosql.deleteIndices
Deletes indices for the specified table in the database. You can only delete indices in the upgrade callback of an open database.
Syntax
Input Parameters
Parameter | Description |
---|---|
dbObject | The object that is returned in the upgradecallback parameter of voltmx.nosql.openDatabase API. |
tableName | The name of the table for which the indices are to be deleted. |
indexes[Object] | Indexes to be deleted on the specified table. |
Example
Return Values
Return Value | Description |
---|---|
Promise | This value has the following parameters:Resolve: This callback is executed if the indices are deleted succesfully.Reject: This callback is executed if an error occurs.errorObject {errorMsg:” “, errorCode: “ “} |
Platform Availability
- SPA
- Desktop Web
voltmx.nosql.deleteRecords
Deletes the rows that match the specified condition.
Syntax
Input Parameters
Parameter | Description |
---|---|
transactionObject | Object returned by openTransaction API. |
tableName | The name of the table on which the delete operation is to be applied. |
condition | It has two parameters: voltmx.nosql.Condition instance and null.voltmx.nosql.Condition instance: Deletes the records based on the given condition.null: Deletes all records in the table. |
Example
Return Values
Promise.
-
Resolve parameter: none
-
Reject parameter: errorObject {errorMsg:” “, errorCode: “ “}
Remarks
-
If you do not pass any condition, the voltmx.nosql.deleteRecords API deletes all the records.
-
If you want to delete all the records, use the voltmx.nosql.clearTable API for better performance efficiency.
Platform Availability
- SPA
- Desktop Web
voltmx.nosql.deleteTable
Deletes a table in the database. This can only be done in the upgradecallback parameter of openDatabase API.
Syntax
Input Parameters
Parameter | Description |
---|---|
dbObject | dbObject returned in the upgradecallback parameter of openDatabase API. |
tableName | The name of the table that is to be deleted. |
Example
Return Values
None.
Platform Availability
- SPA
- Desktop Web
voltmx.nosql.fetchRecords
This API retrieves the records from the table depending on the condition set by user.
Syntax
Input Parameters
Parameter | Description |
---|---|
transactionObject | Object returned by openTransaction API. |
tableName | The name of the table from which the records are to be fetched. |
condition | It has two keys: voltmx.nosql.Condition instance and null.voltmx.nosql.Condition instance: Filters the records based on the condition. To see the list of conditions, refer here.null: Returns all records in the table. |
Example
Return Values
Return Value | Description |
---|---|
Promise | This value has the following parameters: Resolve: This callback is executed if the records are fetched successfully. Reject: This callback is executed if an error occurs. errorObject {errorMsg:” “, errorCode: “ “} |
Remarks
The result object has the following properties and methods:
Properties:
- result.data: Returns list of records (i.e. an array).
- result.length: Returns the number of records fetched.
- result.next: Moves the internal array index by 1, and returns true or false depending on, if record exists at that index.
- result.record: Returns a single record. Make sure “result.next” is called before calling “result.record”
For example, Iterating through a result object
Methods:
- result.sort: This method can be invoked in the following ways:
- result.sort(compareFunction) returns the list of sorted records depending on the compareFunction passed.
- result.sort(columnName, sortType) returns the list of sorted records of specified column in ascending or descending order.
- result.sort([columnName1,columnName2, …], sortType) returns the list of sorted records of multiple columns in ascending or descending order.
- result.limit(startIndex, recordCount): This method returns the count of records from the startIndex. This API is chainable and mutates the output of result.data list.
Here are a few examples:- result.sort(columnName, sortType).limit(0, 10).data: Sorts all the records and on then returns the first 10 records.
- result.limit(0, 10).sort(columnName, sortType).data: Picks up the first 10 records and then sorts those 10 records.
- result.groupBy([columnName1,…], index): This method returns a 1D array or a 2D array by grouping the records of multiple columns. This API is not chainable and does not mutate the output of result.data list.
Depending on the index provided, the result varies in the following ways:- if index is not given, a 2D array is returned with all the records grouped based on the column names.
- if index is positive, it picks the records from the beginning of the grouped data and returns the array.
- if index is negative, it picks the records from the end of the grouped data and returns the array.
Platform Availability
- SPA
- Desktop Web
voltmx.nosql.getPrimaryKeys
Fetches the primary key of the required table.
Syntax
Input Parameters
Parameter | Description |
---|---|
dbObject | The dbObject returned in successcallback of voltmx.nosql.openDatabase API |
tableName | Name of the table for which the primary key is to be fetched. |
transactionObject [Optional] | The object returned by openTransaction API.> Note: You must open the transactionObject parameter for the tableName mentioned in the input. |
Example
Return Values
Promise.
-
Resolve parameter: [Array] list of primary keys
-
Reject parameter: errorObject {errorMsg:” “, errorCode: “ “}
Platform Availability
- SPA
- Desktop Web
voltmx.nosql.getTables
Returns the list of tables in the selected database.
Syntax
Input Parameters
Parameter | Description |
---|---|
dbObject | The dbObject returned in successcallback of voltmx.nosql.openDatabase API |
Example
Return Values
Promise.
-
Resolve parameter: tableNames[Array]
-
Reject parameter: errorObject {errorMsg:” “, errorCode: “ “}
Platform Availability
- SPA
- Desktop Web
voltmx.nosql.openDatabase
Opens an existing database; if the database does not exist, however, the API creates the database and then opens it.
Syntax
Input Parameters
Parameter | Description |
---|---|
dbname [String] | Name of the database to be opened. |
version [Integer] | Version of the database. |
upgradecallback [function] | Called when you open a new database or when you upgrade an existing database. Upgrading an existing database involves adding new tables or removing existing tables. |
Example
Return Values
Promise.
-
Resolve parameter: dbObject
-
Reject parameter: errorObject {errorMsg:” “, errorCode: “ “}
Platform Availability
- SPA
- Desktop Web
voltmx.nosql.openTransaction
Opens a transaction in which you can execute any of the insert, update, or delete operations.
Syntax
Input Parameters
Parameter | Description |
---|---|
dbObject | The dbObject returned in the success callback of openDatabase API. |
tableNames[Array] | The tables that are to be part of this transaction. |
mode | The mode in which you open the transaction, for example, voltmx.nosql.READ or voltmx.nosql.READ_WRITE). |
callback | The openTransaction callback in which transaction-based operations are possible.Parameter of callback: transactionObject. |
Example
Return Values
Promise.
-
Resolve parameter: transactionObject
-
Reject parameter: errorObject {errorMsg:” “, errorCode: “ “}
Remarks
- In case of nested transactions, ensure that the child and parent transactions are not opened in the same table.
Platform Availability
- SPA
- Desktop Web
voltmx.nosql.replaceRecords
Replaces the records that match the provided condition. The API also updates the full record with a new set of columns.
Syntax
Input Parameters
Parameter | Description |
---|---|
transactionObject | The object returned by voltmx.nosql.openTransaction API. |
tableName | The name of the table on which the replace operation is to be applied. |
columnValuePair | Values of the columns to be replaced.> Note: The replace columnValuePair must not contain primarykey; otherwise columnValuePair will be ignored even if it is passed. |
condition | It has two parameters: voltmx.nosql.Condition instance and null.voltmx.nosql.Condition instance: Replaces the records that satisfy the given condition.null: Replaces all records in the table. |
Example
Return Values
Promise.
-
Resolve parameter: none
-
Reject parameter: errorObject {errorMsg:” “, errorCode: “ “}
Platform Availability
- SPA
- Desktop Web
voltmx.nosql.tableExists
Returns the appropriate Boolean value depending if the required table exists or not.
Syntax
Input Parameters
Parameter | Description |
---|---|
dbObject | The dbObject returned in successcallback of voltmx.nosql.openDatabase API |
tableName | Name of the table that you want to verify if it exists. |
Example
Return Values
Promise.
-
Resolve parameter: true if table exists; else, false
-
Reject parameter: errorObject {errorMsg:” “, errorCode: “ “}
Platform Availability
- SPA
- Desktop Web
voltmx.nosql.updateRecords
Updates rows and specific columns that match the provided condition.
Syntax
Input Parameters
Parameter | Description |
---|---|
transactionObject | The object returned by voltmx.nosql.openTransaction API. |
tableName | The name of the table on which the update operation is to be applied. |
columnValuePair | Values of the columns to be updated. |
condition | It has two parameters: voltmx.nosql.Condition instance and null.voltmx.nosql.Condition instance: Updates the records that satisfy the given condition.null: Updates all records in the table. |
Example
Return Values
Promise.
-
Resolve parameter: none
-
Reject parameter: errorObject {errorMsg:” “, errorCode: “ “}
Platform Availability
- SPA
- Desktop Web