Page 1 of 1

Building Folder Tree

Posted: Tue Oct 28, 2008 1:51 pm
by gregg1022
I am trying to get all the folders in a selected repository and create the tree the way you would see it in the Vault GUI. I have tried several ways but the closest I have come is getting the folders but not in the correct order. Seems they are ordered by the when they were created. Is there a way to easily rebuild the folder tree of a repository?
Thanks

Re: Building Folder Tree

Posted: Tue Oct 28, 2008 2:05 pm
by shannon
What version are you working with?

Can you give me a snippet of your code to look at?

Re: Building Folder Tree

Posted: Tue Oct 28, 2008 2:39 pm
by shannon
I just realized what you're probably missing. Try setting the Sorted property on your tree control to true.