You need to sign in to do that
Don't have an account?
jo dev
How to fetch All level records using parent-child relationship???
Hi,
(level1 is parent of level2)
[level1 only having relationship with level2….not with other objects]
(level2 is parent of level3)
[level2 only having relationship with level3….not with other objects]
(level3 is parent of level4)
[level3 only having relationship with level4….not with other objects]
(level4 is parent of level5)
[level4 only having relationship with level5….not with other objects]
(level5 is parent of level6)
[level5 only having relationship with level6….not with other objects]
I Want to dispaly records like below : In treeview structure
Level1record
level2record
level3record
level4record
level5record
level6record
this is the only relationship between the objects…need to display all level records in tree view…
(level1 is parent of level2)
[level1 only having relationship with level2….not with other objects]
(level2 is parent of level3)
[level2 only having relationship with level3….not with other objects]
(level3 is parent of level4)
[level3 only having relationship with level4….not with other objects]
(level4 is parent of level5)
[level4 only having relationship with level5….not with other objects]
(level5 is parent of level6)
[level5 only having relationship with level6….not with other objects]
I Want to dispaly records like below : In treeview structure
Level1record
level2record
level3record
level4record
level5record
level6record
this is the only relationship between the objects…need to display all level records in tree view…
http://www.infallibletechie.com/2012/11/tree-view-in-visualforce-page.html
Thank u for ur quick response...
I tried this ,but no idea how to get level3,level4,level5......facing problrm in for loop
the above link which u referred is not helping me....cant understand clearly.....Bcoz m having 6 different objects...which i alreay Described above...
i have tried lot of methods....Using wrapper class facing problem in for loop,In another method facing Too Many SOQL Quries error...
Sorry mate, currently I do not have any other suggestions other than this.