generateMeasureValueFilterLocalIdentifier()
Home > @gooddata/sdk-ui-dashboard > generateMeasureValueFilterLocalIdentifier
generateMeasureValueFilterLocalIdentifier() function
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Generates a stable local identifier for a dashboard measure value filter from the target metric's ObjRef and a positional index. Used both by the add-MVF reducer (as a fallback when callers omit localIdentifier) and by the postMessage embedding handler so the caller can pre-compute the id and chain follow-up commands in the same dispatch batch.
Signature:
generateMeasureValueFilterLocalIdentifier: (ref: ObjRef, index: number) => string
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
ref | ||
|
index |
number |
Returns:
string