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

localId

Home > @gooddata/sdk-model > AttributeBuilder > localId

AttributeBuilder.localId property

Sets local identifier (localId) for the attribute. LocalId can be used to reference the attribute within the execution definition.

Normally, builder will generate localId based on contents of the attribute definition - taking all properties into account: in typical scenarios you don't have to call this function at all. The only exception where you have to provide custom local id is if your execution must contain the exact same attribute twice.

For convenience, this method also accepts 'undefined', which indicates that the default local id generation logic should be used.

Signature:

localId: (localId?: Identifier | undefined) => this;
  • AttributeBuilder.localId property
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