Using TargetTypeName="Node" uses the ItemTemplate and outputs the ff
Hello,
You can create a Node Layout for both the TargetTypeName = Folder and one for the TargetTypeName = Node then it will create the Nodes based underlying type od the data. Please see attached sample.
Let me know if you have any questions.
Valerie
Thanks for sample Valerie.
However I noticed that to get it to work, Folder had to contain an additional list specific for the Folder objects. In terms of design, I think this is unnecessary since the list of Node objects already allows for both Folder and File types because of the inheritance relationship. Another issue is the display of "Nodes" and "Folders" items in the tree, these should not appear because they just introduce added levels of hierarchy which are not really needed.
Any other way to achieve the desire effect using only a list of Node objects?
Kind regards,
Faye