search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Scheduler Resource Tree flat hierarchy

Asked by daniels
7 days ago.

Hi,

Is there a way for Scheduler to accept a Resource Tree in the form of a flat tree hierarchy instead of a nested hierarchy?

Like this:

[
{
resourceID: 1,
parentID: undefined
},
{
resourceID: 2,
parentID: 1
},
{
resourceID: 3,
parentID: 1
},
]

Instead of this:

[
{
resourceID: 1,
children:
[
{
resourceID: 2,
children: []
},
{
resourceID: 3,
children: []
}
]
}
]

No reply yet.
New Reply
This reply is
Your name (optional):