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

setActiveTheme()

Home > @gooddata/sdk-backend-spi > IWorkspaceStylingService > setActiveTheme

IWorkspaceStylingService.setActiveTheme() method

Set active theme setting in workspace.

Signature:

setActiveTheme(themeRef: ObjRef): Promise<void>;

Parameters

Parameter

Type

Description

themeRef

ObjRef

active theme reference

Returns:

Promise<void>

promise

Remarks

The scope is carried by the reference itself: an idRef typed "workspaceTheme" activates a workspace-scoped theme, otherwise the theme is treated as organization-scoped. There is no cross-scope fallback when the active setting is later resolved.

  • IWorkspaceStylingService.setActiveTheme() method
  • Parameters
  • Remarks
GoodData resources:
  • Documentation
Follow the community:
  • Community
Copyright © 2007–2026 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