blueprint.publish deprecated
Applies a blueprint to a hierarchy, creating the hierarchy and any missing elements.
Deprecated
Use blueprint.publish(dimensionName, hierarchyName) instead.
js
blueprint.publish(dimensionName, hierarchyName, blueprintName)Parameters
| Parameter | Type | Description |
|---|---|---|
dimensionName | string | The dimension to publish into. |
hierarchyName | string | The hierarchy to publish into. It's created if it doesn't exist. |
blueprintName | string | The blueprint's name. |
Returns
stringAn empty string when it succeeds, or an error message when the blueprint or dimension can't be found.
Examples
js
blueprint.publish("Account", "Default", "Default");