InoDrive / UserApp / updateVariablesList
InoDrive.UserApp.updateVariablesList()
Sends message to Module to Update all Read or Read/Write Variable Listing
Returns: Variable List (Object) The returned object has variable’s keyed by their name containing the variable’s ID, type, read/write access, value, and write permissions.
// Import InoDrive API Library import { InoDriveApiJS } from "ck-inodrive-api" // Instatiate the API let InoDriveApi = new InoDriveApiJS.InoDriveApi({ connectAppUrl: "", secure: false }) // Instantiate InoDrive Object let Drive = await InoDriveApi.InoDrive({ target: "Name", autoConnect: true }) // Update Variable List let varList = await Drive.UserApp.updateVariablesList() console.log(varList)