HierarchyEntityService.generateHierarchy Method

Generates a hierarchy.
 

Parameters

parentId

Type: String
The ID of the parent file or folder.
nativeStructureId

Type: String
ID of the native table.
defaultColumns

Type: Array
ElementType: String
The default column names. The column names serve as a "hint" on how to generate the hierarchy.
Optional: True
guessingMethod

Type: HierarchyGenerationMethod
The guessing method. By default, the method used is BEST_GUESS.
Optional: True

Return Value


Type: jQuery.Promise
Value: dundas.entities.Hierarchy
A promise object that is resolved when the call is complete. If successful, the dundas.entities.Hierarchy is returned.