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

forDefinition()

Home > @gooddata/sdk-backend-spi > IExecutionFactory > forDefinition

IExecutionFactory.forDefinition() method

Prepares a new execution for the provided execution definition.

Signature:

forDefinition(def: IExecutionDefinition, options?: IPreparedExecutionOptions): IPreparedExecution;

Parameters

ParameterTypeDescription
defIExecutionDefinitionexecution definition
optionsIPreparedExecutionOptions(Optional) additional options for the prepared execution

Returns:

IPreparedExecution

new prepared execution

Remarks

The contract is that the definition is taken and used in the prepared execution AS IS. Compared to the other convenience methods, this method MUST NOT create prepared executions with automatically generated dimensions.

  • IExecutionFactory.forDefinition() 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