sisense.com
✅ You are viewing documentation for the latest version of Compose SDK.
Version:

Function useGetWidgetModel Fusion Embed

useGetWidgetModel(...args): WidgetModelState

React hook that retrieves an existing widget model from a Fusion instance.

Note: Widget extensions based on JS scripts and add-ons in Fusion are not supported.

Example

Retrieve a widget model and use it to populate a Chart component

Additional useGetWidgetModel examples:

Parameters

ParameterType
...args[GetWidgetModelParams]

Returns

WidgetModelState

Widget load state that contains the status of the execution, the result widget model, or the error if one has occurred

Last Updated: