gantt.getResourceAssignments() empty

Hi I’m using the gantt histogram in tha attached example, but seems gantt.getResourceAssignments() is empty

GanttTest.json (3.7 KB)

GanttTest.html (31.0 KB)

Data:

{ “data”:[ {“id”:“100”,
“text”:“1.1-Missione in Africa”,
“parent”:“0”,
“start_date”:“16/10/2009 00:00:00”,
“end_date”:“16/10/2010 00:00:00”,
“duration”:“365”,
“progress”:“0.00”,
“type”:“”,
“open”:“false”,
“sortorder”:“1”,
“idField”:“TaskID”,
“link”:“DetailPage.pm?ComponentID=WBS_PROJECT&PageID=WBS_STAFFING_D&Key0=375&Key1=18&Key2=’ + [%WRC.TaskID%] + '&ClientID=5&WindowName=636897372920760385”
, “owner_id”: [{“owner_id”: 345, “value”: 40.00 },
{“owner_id”: 12483, “value”: 55.00 }]},
{“id”:“101”,
“text”:“1.1.1-Distribuzione Cibo”,
“parent”:“0”,
“start_date”:“16/10/2009 00:00:00”,
“end_date”:“17/10/2009 00:00:00”,
“duration”:“1”,
“progress”:“0.67”,
“type”:“”,
“open”:“false”,
“sortorder”:“2”,
“idField”:“TaskID”,
“link”:“DetailPage.pm?ComponentID=WBS_PROJECT&PageID=WBS_STAFFING_D&Key0=375&Key1=18&Key2=’ + [%WRC.TaskID%] + '&ClientID=5&WindowName=636897372920760385”
, “owner_id”: [{“owner_id”: 345, “value”: 40.00 }]},
{“id”:“102”,
“text”:“1.1.2-Distribuzione Medicinali”,
“parent”:“0”,
“start_date”:“16/10/2009 00:00:00”,
“end_date”:“17/12/2009 00:00:00”,
“duration”:“62”,
“progress”:“0.32”,
“type”:“”,
“open”:“false”,
“sortorder”:“3”,
“idField”:“TaskID”,
“link”:“DetailPage.pm?ComponentID=WBS_PROJECT&PageID=WBS_STAFFING_D&Key0=375&Key1=18&Key2=’ + [%WRC.TaskID%] + '&ClientID=5&WindowName=636897372920760385”
, “owner_id”: [{“owner_id”: 345, “value”: 40.00 },
{“owner_id”: 6879, “value”: 50.00 },
{“owner_id”: 12483, “value”: 55.00 }]},
{“id”:“103”,
“text”:“1.2-Costruzione Scuole”,
“parent”:“0”,
“start_date”:“16/10/2009 00:00:00”,
“end_date”:“16/10/2010 00:00:00”,
“duration”:“365”,
“progress”:“0.50”,
“type”:“”,
“open”:“false”,
“sortorder”:“4”,
“idField”:“TaskID”,
“link”:“DetailPage.pm?ComponentID=WBS_PROJECT&PageID=WBS_STAFFING_D&Key0=375&Key1=18&Key2=’ + [%WRC.TaskID%] + '&ClientID=5&WindowName=636897372920760385”
, “owner_id”: [{“owner_id”: 6879, “value”: 100.00 },
{“owner_id”: 6884, “value”: 100.00 },
{“owner_id”: 12483, “value”: 100.00 }]},
{“id”:“104”,
“text”:“2.1-Missione in Medioriente”,
“parent”:“0”,
“start_date”:“16/10/2011 00:00:00”,
“end_date”:“16/10/2013 00:00:00”,
“duration”:“731”,
“progress”:“0.00”,
“type”:“”,
“open”:“false”,
“sortorder”:“5”,
“idField”:“TaskID”,
“link”:“DetailPage.pm?ComponentID=WBS_PROJECT&PageID=WBS_STAFFING_D&Key0=375&Key1=18&Key2=’ + [%WRC.TaskID%] + '&ClientID=5&WindowName=636897372920760385”
, “owner_id”: [{“owner_id”: 345, “value”: 40.00 },
{“owner_id”: 6879, “value”: 50.00 },
{“owner_id”: 12483, “value”: 55.00 }]},
{“id”:“113”,
“text”:“2.2-Missione in Medioriente2”,
“parent”:“0”,
“start_date”:“16/10/2011 00:00:00”,
“end_date”:“16/10/2013 00:00:00”,
“duration”:“731”,
“progress”:“0.98”,
“type”:“”,
“open”:“false”,
“sortorder”:“6”,
“idField”:“TaskID”,
“link”:“DetailPage.pm?ComponentID=WBS_PROJECT&PageID=WBS_STAFFING_D&Key0=375&Key1=18&Key2=’ + [%WRC.TaskID%] + '&ClientID=5&WindowName=636897372920760385”
},
{“id”:“114”,
“text”:“3.1-Missione in Medioriente3”,
“parent”:“0”,
“start_date”:“01/01/2012 00:00:00”,
“end_date”:“31/01/2012 00:00:00”,
“duration”:“30”,
“progress”:“1.00”,
“type”:“”,
“open”:“false”,
“sortorder”:“7”,
“idField”:“TaskID”,
“link”:“DetailPage.pm?ComponentID=WBS_PROJECT&PageID=WBS_STAFFING_D&Key0=375&Key1=18&Key2=’ + [%WRC.TaskID%] + '&ClientID=5&WindowName=636897372920760385”
}],
“links”:[{“id”:“1”,
“source”:“0”,
“type”:“0”,
“target”:“100”
},
{“id”:“2”,
“source”:“0”,
“type”:“0”,
“target”:“101”
},
{“id”:“3”,
“source”:“0”,
“type”:“0”,
“target”:“102”
},
{“id”:“4”,
“source”:“0”,
“type”:“0”,
“target”:“103”
},
{“id”:“5”,
“source”:“0”,
“type”:“0”,
“target”:“104”
},
{“id”:“6”,
“source”:“0”,
“type”:“0”,
“target”:“113”
},
{“id”:“7”,
“source”:“0”,
“type”:“0”,
“target”:“114”
}]}

Hello,
We received the ticket from you in the support system.
Let’s continue our discussion there.

For everyone else, you need to use the following structure to assign the owners:

<resource property name>: [{“resource_id”: <id>, “value”: <value> },

Wrong property names:

 , “owner_id”: [{“owner_id”: 345, “value”: 40.00 },

Correct property names:

 , “owner_id”: [{“resource_id”: 345, “value”: 40.00 },