GoodData.UI API reference
  • GoodData.UI
  • Docs & APIs
  • Developers
  • GoodData.CN
  • GoodData.UI
  • Docs & APIs
  • Get GoodData.CN Community Edition
  • 10.25.0
  • Code samples
  • Gallery
  • GitHub

getWidgetReferencedObjects()

Home > @gooddata/sdk-backend-spi > IWorkspaceDashboardsService > getWidgetReferencedObjects

IWorkspaceDashboardsService.getWidgetReferencedObjects() method

This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Get all metadata objects referenced by a given widget.

Signature:

getWidgetReferencedObjects(widget: IWidget, types?: SupportedWidgetReferenceTypes[]): Promise<IWidgetReferences>;

Parameters

ParameterTypeDescription
widgetIWidgetwidget to get referenced objects for
typesSupportedWidgetReferenceTypes[](Optional) optional array of object types to include, when not specified, all supported references will be retrieved

Returns:

Promise<IWidgetReferences>

  • IWorkspaceDashboardsService.getWidgetReferencedObjects() method
  • Parameters
GoodData resources:
  • Documentation
Follow the community:
  • Community
Copyright © 2007–2025 GoodData Corporation. All Rights Reserved. Code licensed under a dual license - CC BY‑NC 4.0 for trial experience and GoodData.UI EULA for commercial use