Tree control with SharePoint Doc.Libraries folders


Badge +7

Hi

 

has anyone used the tree control to display sharepoint doc.lib folders? I am using the Get-Folders method to get the folders but cannot get them to display properly in a tree view fashion.

 

any ideas?

 


6 replies

Badge +9

Hi CraigBook


 


See the link below


https://community.k2.com/t5/K2-Five/build-folder-path-in-a-sharepoint-doc-lib/m-p/109064#M2441


 


https://community.k2.com/t5/K2-blackpearl-Articles/Create-a-folder-on-SharePoint-Document-Library/ta-p/82661?nobounce


 


Should you find the information from the article useful or leading you to the answer please mark as "Solution and/or Kudo", as it will assist other k2 developers with relevant information in the near future.


 


Best Regards


Elvis


 


[K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member]

Badge +7

Hello

 

thanks for the feedback, I am using this solution right now https://community.k2.com/t5/K2-Five/build-folder-path-in-a-sharepoint-doc-lib/m-p/109064#M2441 but our users find it cumbersome to work with because there are many subfolders and the list has become quite long, therefore I wanted to have more of a graphical interface like the tree control could give me with the folders. I have not found a way to build the parent/child relationship for the folder structure. 

Badge +9

Hi CraigBrook


 


See the docs below for tree controls


http://help.k2.com/onlinehelp/K2Five/UserGuide/5.3/default.htm#Create/K2Designer/Controls/Tree/TreeControl.htm


 


Regards


Elvis

Badge +7

Hi

 

I have seen this also but again, I am not able to get the ID and Parent ID for folders as they are of course set automatically and I have no control of them when some one wants to add a new folder. 

Badge +9

Hi CraigBook


 


I think this docs will help you: https://help.k2.com/support-services/kbs100028


 


Regards


Elvis


 

Badge +7

Hi 

 

thanks for the information, however I understand how the control works, I don't think this is going to work, because I need the folder structure and am not seeing how this control can call the subfolder of a folder. have I missed something?

Reply