cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Tree population from database thing (InfoTable)

justiny
1-Visitor

Tree population from database thing (InfoTable)

Hi,

So I have a database table that has a child and parent relationship and I would like to populate a tree. I have tried doing this and the tree comes back empty.

LabelField - ChildName

ValueField - ChildName

IDField - ChildName

ParentIDField - ParentName

Any thoughts?


1 REPLY 1

You should probably populate Tree with InfoTable that is based on NetworkConnection DataShape. 


to connectionType from

TWxPSiteGreenhousePsary Contains

Greenhouse-B4 Contains TWxPSiteGreenhousePsary

SensorNode-02 Contains Greenhouse-B4

Greenhouse-B5 Contains TWxPSiteGreenhousePsary

...

...

...


One of my working trees has such priperties values: 

LabelField - to

TooltipField -

ValueField - 

IDField - to

ParentIDField - from

You can start with them to see if your tree is working (as far as I can see your properties are the same).


If you are not using NetworkConnection DataShape probably you are lacking 'connectionType' in your InfoTable. 



Announcements


Top Tags