resolveReportTextPlaceholders()
Home > @gooddata/sdk-model > resolveReportTextPlaceholders
resolveReportTextPlaceholders() 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.
Replaces {{variable}} markers with values. Markers with no value are left as-is. Values are inserted verbatim — there is no recursive expansion.
Signature:
export declare function resolveReportTextPlaceholders(text: string, values: Record<string, string>): string;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
text |
string | |
|
values |
Record<string, string> |
Returns:
string