GoodData.UI API reference
  • All Products
  • All Products
  • GoodData.UI
  • API Reference
  • University
  • Community
  • Documentation
  • Support
  • 11.1.0
  • Code samples
  • GitHub

withTag()

Home > @gooddata/sdk-ui-dashboard > IDashboardInsightCustomizer > withTag

IDashboardInsightCustomizer.withTag() method

A convenience method that will register a specific React component to use for rendering any insight that is tagged with the provided tag.

Signature:

withTag(tag: string, component: CustomDashboardInsightComponent): IDashboardInsightCustomizer;

Parameters

Parameter

Type

Description

tag

string

tag to look for on the insight, this function will do nothing if this argument is an empty string

component

CustomDashboardInsightComponent

component to use if the tag is found

Returns:

IDashboardInsightCustomizer

self, for call chaining sakes

Remarks

If plugins register multiple providers for the same tag, then the provider will be picked using 'last-win' strategy.

  • IDashboardInsightCustomizer.withTag() method
  • Parameters
  • Remarks
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