 |
|
 |
nice work, but does this webpart work under 365 sharepoint online? tks
|
|
|
|
 |
|
 |
Dears,
I converted the webpart to work on sharepoint 2010 but i have a problem with the Document library Pickup whick put the full path and then the webpart shows no library with this name. if i delete the path manualy it works fine. what should i do to fix this error?
|
|
|
|
 |
|
 |
hi... Thanks for sharing this with us. its really great is it possible to hide forms folder so that we dont expose all the templates and other system files to the users. Also, how do we display folders based on the permissions? Thanks
|
|
|
|
 |
|
 |
Does anyone know how we can sort the folders/files in the treeview based on one of the document library column?
|
|
|
|
 |
|
 |
After I changed the ducument library name in web part edit mode, I clicked 'APPLY', the tree view can not be refreshed. if I refresh the URL, everything is fine. Please help me. Thanks.
|
|
|
|
 |
|
 |
Hi,
I want the files to navigate but the folders in tree view should not navigate.Can anyone help me controling the navigation of folders alone to the document library.
|
|
|
|
 |
|
 |
Will this work with SP2010?
Pragnesh Patel
|
|
|
|
 |
|
 |
We've tried it with SharePoint 2010, but no success.
Is there in future support for SharePoint 2010?
Anyone an idea where to get a document library tree view webpart for SharePoint 2010?
Kind regards
|
|
|
|
 |
|
 |
Hi, I have Sharepoint 2010 Std and this web part work.
Replace in "Setup.bat" path:
"PLocation=%CommonProgramFiles%\Microsoft Shared\web server extensions\12"
to
PLocation=%CommonProgramFiles%\Microsoft Shared\web server extensions\14
|
|
|
|
 |
|
|
 |
|
 |
Hey there,
I've tried to open this project in VS 2010 but was unable to and it would not convert. So instead I started a new project and just copied over the code and deployed the project. While trying to add the Web Part to my SharePoint page, I am getting "Cannot import this Web Part" error messages and I can't figure out why. I am just a beginner with SharePoint and C# so if anyone could point me in the right direction, with detail, that would be great.
Thanks!
|
|
|
|
 |
|
 |
Hi kashani very good article ,
but , ihave one question
how to display this webpart in Quick launch and bydefault with all the libraries.
|
|
|
|
 |
|
 |
nice article,
but how can i display it quick launch bydefault with all the libraries in the site
|
|
|
|
 |
|
 |
How difficult would it be for me to modify the code so it displays a specific folder and any subfolders it may have? Can you point me to the method I would need to change?
Thanks!
It would be cool to add an option when modifying webpart to select a specific folder to display and whether the default tree is open/closed on load.
|
|
|
|
 |
|
 |
Great job!!
I would like to tweak the code a tad. How would I then update the webpart? Would I just replace the dll in the GAC?
|
|
|
|
 |
|
 |
Hi,
This is a WONDERFUL tool that is exactly what I am looking for in some of my Sharepoint sites. I've looked at some other products with similar capabilities, but the simplicity of this solution and the way that it displays the information is spot on for what I'm looking for.
The only issue for me, as several others have commented, is that the "Forms" folder is displayed in the tree view. Is there any way that we can get a build that includes the changes that have been documented for not showing the "Forms" folder? I just don't have the resources to configure an environment where I can make the change myself and create a new build.
In any case, thanks for doing this work and for taking the time to publish the information about it here.
|
|
|
|
 |
|
 |
Hello All,
Want to get rid of Forms folder in Tree view web part so replaced the GetFoldersInFolder method with below code as
public static List GetFoldersInFolder(SPFolder folder)
{
List result = new List();
FolderInfo folderinfo;
SPFolderCollection subFolders = folder.SubFolders;
foreach (SPFolder subFolder in subFolders)
{
if (subFolder.Name.Trim() == "Forms")
continue;
folderinfo = new FolderInfo();
folderinfo.Name = subFolder.Name;
folderinfo.Size = GetFolderSize(subFolder) / 1024;
folderinfo.URL = subFolder.Url;
folderinfo.FilesNumber = GetNumberOfFilesInFolder(subFolder);
result.Add(folderinfo);
}
return result;
}
The error i am getting when i use the full code is 'Microsoft.SharePoint.WebPartPages.Utility' is inaccessible due to its protection level.can any one say me how do i resolve this error.
Thank You.
|
|
|
|
 |
|
 |
I have installed LibraryTree Web Part successfully, and i have inserted that webpart to my page, but the issue is that in the document library selection, i choose the document library to view it and i've got a message "Error: There is no such document library with this name:/.../..."
Why is that happening??????
Help Please
|
|
|
|
 |
|
 |
I am getting the exact same message, as above.
Is there any solution to this?
|
|
|
|
 |
|
 |
Hey i tried this out..instead of selecting the path.Just gve the name of the Document library..It wil work...
|
|
|
|
 |
|
 |
I have the same problem
ramadan rashid
|
|
|
|
 |
|
 |
Just can't get this to work any ideas?
public static List<FolderInfo> GetFoldersInFolder(SPFolder folder)
{
List<FolderInfo> result = new List<FolderInfo>();
FolderInfo folderinfo;
SPFolderCollection subFolders = folder.SubFolders;
foreach (SPFolder subFolder in subFolders)
{
if (subFolder.Name.Trim() == "Forms")
continue;
folderinfo = new FolderInfo();
folderinfo.Name = subFolder.Name;
folderinfo.Size = GetFolderSize(subFolder) / 1024;
folderinfo.URL = subFolder.Url;
folderinfo.FilesNumber = GetNumberOfFilesInFolder(subFolder);
result.Add(folderinfo);
}
return result;
}
|
|
|
|
 |
|
 |
Hi Milo
just do it in following way
public static List GetFoldersInFolder(SPFolder folder)
{
List result = new List();
FolderInfo folderinfo;
SPFolderCollection subFolders = folder.SubFolders;
foreach (SPFolder subFolder in subFolders)
{
if (subFolder.Name.ToString() != "Forms")
{
folderinfo = new FolderInfo();
folderinfo.Name = subFolder.Name;
folderinfo.Size = GetFolderSize(subFolder) / 1024;
folderinfo.URL = subFolder.Url;
folderinfo.FilesNumber = GetNumberOfFilesInFolder(subFolder);
result.Add(folderinfo);
}
}
return result;
}
|
|
|
|
 |
|
 |
Hi,
I have a problem that i cant replicate, this WP shows the tree correctly, but the right cell with contents show more folders than in the tree, folders that the user doesnt has permissions, he can click and enter there but sees no files.
There isnt a big security issue since he cannot see files, but the user can see the folders, and thats something we would like to correct.
Any ideas? we have a replicate of the env, and in the first everything works fine, the second not.
The view ids are the same, and the views xml are the same, only diference is one FieldRef less in the working env.
Thank you.
|
|
|
|
 |
|
 |
I am having trouble compiling your source code in VS2008. I have modified your source code to hide the forms folders, but I cannot compile the source code and implement the solution. That installer package you included works great and I can install it just fine.
I really like this solution and unless I can get this compiled will have to look elsewhere.
|
|
|
|
 |