onDimensionCustomValueNew
Definition
onDimensionCustomValueNew is a host
callback invoked by DimensionIQWidget when a new custom value has been created for a
dimension within the widget and the host application must persist the new custom value.
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 creation state of dimension custom values.
Function Signature
Function Signature
onDimensionCustomValueNew: (
dimensionCustomValue: DIQ_DimensionCustomValue,
onResponse: (result: DIQ_Result) => void
) => void;
Callback Parameters
dimensionCustomValue
Type: DIQ_DimensionCustomValue
Description: The newly created DIQ_DimensionCustomValue 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
onDimensionCustomValueNew