SharePoint document library Tree display webpart deployment notes

Source: Internet
Author: User
First of all, we would like to thank Dudu for its recommendation!
For a long time, it has been a headache for me to display webpart in the tree of this so-called document library (because my business department keeps providing comments !). In fact, I have some ideas, but I have a little bit of programming skills ....... Yesterday, I suddenly saw Dudu's article. I quickly downloaded this webpart. And started Deployment and testing:
1. Use the stsadm command to deploy it on the server.
There is nothing to say about this. I don't know. Check the SDK.
2. Deploy documentlibrarybrowser. dll and mytreeview. dll in the bin directory to GAC.
3. Add the webpart to the site
4. Deploy the webpart on the webpage
I thought, it's okay. However, an unexpected situation occurs on the page, that is, the "Tree" trunk (that is, the connection line and folder icon on the left) of the webpart is displayed in a tree with Red Cross. I remember that there was a "wpresources" directory under the site directory, and when this webpart program was deployed, a documentlibrarybrowser directory was automatically created in it, where are all the icons? What's going on?
Right-click the Red Cross and view the properties. The path is: "http: // test: 8080/docs/_ wpresources/documentlibrarybrowser/1.0.0.1 _ 42f4415f140f5427/base.gif"

However, this directory does not exist when you use FrontPage to open the site. So I manually create a folder "_ wpresources" on the site according to this path, but the creation fails. Will it be because the 1.0.0.1 _ 42f4415f140f5427 directory is missing. Therefore, I created a directory named 1.0.0.1 _ 42f4415f140f5427 under the documentlibrarybrowser directory. However, the fault persists.

Then I thought of c: \ Program Files \ common files \ microsoft shared \ Web Server Extensions \ wpresources, because this directory is where SPs are used to put public resources, will it be?

I created two directories in this directory: C: \ Program Files \ common files \ microsoft shared \ Web Server Extensions \ wpresources \ documentlibrarybrowser \ 1.0.0.1 _ 42f4415f140f5427, copy all the images to this directory.

On the refresh page, OK.

Originally, the system automatically creates the _ wpresources virtual directory for each region, which actually points to C: \ Program Files \ common files \ microsoft shared \ Web Server Extensions \ wpresources \ directory.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.