"hierarchy" MDO List
•
Environment: onsite, online
Some tooltip text!
• 1 minute to read
• 1 minute to read
List provider for the Hierarchy table. Pass the domain using Additional info. MDO can be nested arbitrary levels deep. Fullname contains path separated. returns a list of domains if no domain is specified.
Implemented by the
Additional Attributes
| Description | Name | Example Value |
|---|---|---|
| Specify type of hierarchy to get | domain | scripts |
| Return fullname rather than just node name | fullname | True |
Sample Request
GET /api/v1/MDOList/hierarchy
Authorization: Basic dGplMDpUamUw
Accept: application/json; charset=utf-8
Accept-Language: *
Sample Code
var listProvider = ClassFactory.CreateRequired<SuperOffice.CRM.Lists.ISoListProviderFactory>().Create("hierarchy", forceFlatList: true);
foreach (var item in listProvider.RootItems) {
Console.WriteLine("{0} {1} {2} {3}",
item.Id, ResourceManager.ParseInlineResources(item.Name), item.StyleHint, item.ExtraInfo);
}
Sample Output
| Id | Name | StyleHint | ExtraInfo |
|---|---|---|---|
| 1 | ExtraTables | Domain | |
| 2 | ScreenDefinitions | Domain | |
| 3 | Scripts | Domain | |
| 4 | Selections | Domain | |
| 5 | ExternalDocuments | Domain | |
| 6 | UserGroups | Domain | |
| 7 | ExternalDocumentRelatedToSpmMessage | Domain | |
| 8 | Dashboards | Domain | |
| 9 | EmailFlows | Domain |
Related MDO Lists
- "hierarchyheadings"
- "hierarchyheadingswithallitem"
- "hierarchyheadingswithallitemwithnoselection"
- "hierarchyheadingswithnoselection"
- "hierarchywithallitem"
- "hierarchywithallitemwithnoselection"
- "hierarchywithnoselection"