setActiveColorPalette()
Home > @gooddata/sdk-backend-spi > IWorkspaceStylingService > setActiveColorPalette
IWorkspaceStylingService.setActiveColorPalette() method
Set active color palette setting in workspace.
Signature:
setActiveColorPalette(colorPaletteRef: ObjRef): Promise<void>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
colorPaletteRef |
active color palette reference |
Returns:
Promise<void>
promise
Remarks
The scope is carried by the reference itself: an idRef typed "workspaceColorPalette" activates a workspace-scoped color palette, otherwise it is treated as organization-scoped. There is no cross-scope fallback when the active setting is later resolved.