Skip to main content

onConstantFolderNew

Last updated 23/07/2026

Definition

is a host callback invoked by
DimensionIQWidget
when a new constant folder has been created within the widget and the host application must persist the new folder.

Once processing is complete, please refer to the

onResponse
contract in the Widget Callback Introduction.

This callback ensures the widget and host application remain synchronized regarding the constant folder's creation state.

Function Signature

TypeScript
Function Signature
onConstantFolderNew: (
folder: DIQ_ConstantFolder,
onResponse: (result: DIQ_Result) => void
) => void;

Callback Parameters

folder
Type: DIQ_ConstantFolder
Description: The newly created

object from the widget.

onResponse
Type: (result: DIQ_Result) => void
Description: Callback function that must be called by the host to complete the operation.

Examples

onConstantFolderNew