Open jtab87 opened 10 months ago
Hey, @melohagan ,
You have associated the _id field with "ParentId", and the EMPLOYEE ID field with "id".
The ParentId field MUST be able to have ONE (only) null value, thereby identifying the root record. (see README.MD) But in budibase, the _id field can never be null. The plugin therefore does not identify a root record in your dataset, and does not display anything.
It would be better to match the _id column with the id field
Here is a working dataset: | id | parentid | name | |
---|---|---|---|---|
1111 | root | <== parentid is empty: the plugin identifies the root record | ||
2222 | 1111 | node 1 | ||
3333 | 1111 | node 2 | ||
4444 | 3333 | node 2.1 |
Bonjour @melohagan , have you tested the component again, following my answer ?
Hey @jtab87
I'm still not seeing anything appear. I think seeing example data tables and a screenshot of settings that work for you would help me configure it.
Hey @melohagan
Here is an example data tables and a screenshot of settings that work for me The data table : https://github.com/Budibase/plugins/files/14294180/orgchart.json
Sample of image to put in the "image" column ...
Hey @jtab87
Thanks for this! Looks pretty cool although I'm struggling to get it to work: