Skip to main content

onVariableFolderUpdate

Last updated 23/07/2026

Variable folder update handler

This example demonstrates how the

callback persists changes made to an existing variable folder within the host application. Once the updated folder has been successfully stored, the result is returned to the widget through the

onResponse
callback.

TypeScript
Variable folder update handler
onVariableFolderUpdate: (folder: DIQ_VariableFolder, onResponse: (result: DIQ_Result) => void) => {

// Update the folder in the application's database
database.updateVariableFolder(folder);

// Notify the widget that the operation completed successfully
onResponse({
success: true
});

};