Skip to main content

onListRevisions

Last updated 5/03/2026

Definition

is a host callback invoked by
DimensionIQWidget
when it requires the host application to provide the list of revisions associated to a specific project.

The host application is responsible for retrieving all stored

records for the requested project.

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 revisions associated with the project.

Function Signature

TypeScript
Function Signature
onListRevisions: (
project: DIQ_Project,
onResponse: (result: DIQ_Result, revisions: DIQ_Revision[]) => void
) => void;

Callback Parameters

project
Type: DIQ_Project
Description: The

object for which associated revisions are being requested.

onResponse
Type: (result: DIQ_Result, revisions: DIQ_Revision[]) => void
Description: Callback function that must be called by the host to complete the operation, and return an array of

objects.

Examples

onListRevisions