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

onPluginLoaded()

Home > @gooddata/sdk-ui-dashboard > IDashboardPluginContract_V1 > onPluginLoaded

IDashboardPluginContract_V1.onPluginLoaded() method

This function will be called right after the plugin's asset are loaded.

Signature:

onPluginLoaded?(ctx: DashboardContext, parameters?: string): Promise<void> | void;

Parameters

ParameterTypeDescription
ctxDashboardContextdashboard context into which this plugin was loaded
parametersstring(Optional) parameters that the dashboard specifies on its link to this plugin; these parameters are

Returns:

Promise<void> | void

Remarks

The plugin may do some early initialization and parameter parsing at this point.

Note that the parameterization that can be specified for the dashboard-plugin link can be edited freely by the dashboard creator - and may thus be incorrect.

If this function is not specified, then any parameters specified on the dashboard-plugin link will be ignored. If this function throws any exception, then your plugin will not be used on the dashboard.

  • IDashboardPluginContract_V1.onPluginLoaded() 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