Hello cfitz,
Thank you for your interest in our APIs! I believe I’ve identified the problem. Since org charts must be created from data, we’ve separated them into a object called “dataBackedShapes” rather than “shapes” to show the distinction. Here’s an example of what an org chart json file might look like:
{
"version": 1,
"collections": c
{
"id": "org-chart-data",
"dataSource": "org-chart.csv"
}
],
"pages":
{
"id": "page1",
"title": "Page 1",
"dataBackedShapes": a
{
"type": "orgChart",
"id": "my-org-chart",
"position": {
"x": 0,
"y": 0
},
"collectionId": "org-chart-data",
"idField": "Employee ID",
"foreignKeyField": "Supervisor ID",
"nameField": "Name",
"roleField": "Role",
"imageUrlField": "Image URL",
"extraFields": e"Email", "Cell", "Location"]
}
]
}
]
}
Note that the only page object has the fields “id”, “title”, and “dataBackedShapes”.
Let me know if this doesn’t fix the issue!
Thank you! I am no longer getting that error.