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

getInsightWithCatalogItems()

Home > @gooddata/sdk-backend-spi > IWorkspaceInsightsService > getInsightWithCatalogItems

IWorkspaceInsightsService.getInsightWithCatalogItems() method

Request insight for the given reference together with related catalog items

Signature:

getInsightWithCatalogItems(ref: ObjRef): Promise<{
        insight: IInsight;
        catalogItems: Array<ICatalogFact | ICatalogMeasure | ICatalogAttribute>;
    }>;

Parameters

ParameterTypeDescription
refObjRefinsight reference

Returns:

Promise<{ insight: IInsight; catalogItems: Array<ICatalogFact | ICatalogMeasure | ICatalogAttribute>; }>

promise of catalog item of type metric or fact

  • IWorkspaceInsightsService.getInsightWithCatalogItems() 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