createAttributeHierarchy()
Home > @gooddata/sdk-backend-spi > IAttributeHierarchiesService > createAttributeHierarchy
IAttributeHierarchiesService.createAttributeHierarchy() method
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.
Creates attribute hierarchy
Signature:
createAttributeHierarchy(title: string, attributes: ObjRef[]): Promise<ICatalogAttributeHierarchy>;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| title | string | |
| attributes | ObjRef[] | 
Returns:
Promise<ICatalogAttributeHierarchy>