Set the folder level when putting a document library web part on a web part page

Set the folder level when putting a document library web part on a web part page

Post by MS » Fri, 30 Jan 2004 08:45:05


There seems like there should be a way to set the folder level when adding a
Document Library web part to a web part page. Any body been able to do this?

-MS
 
 
 

Set the folder level when putting a document library web part on a web part page

Post by Bil Simse » Fri, 30 Jan 2004 13:50:47


a
this?

I'm not sure I understand what you mean by "set the folder level". Is that
"setting the security on the folder level" in a document library, or
"setting the document library to open directly into a specific folder".

The first can't be done because security can only be done at a document
library level. The second could be done but you would need to first build
the doc library, then navigate to that folder and snag the URL from your
browser then create a page view webpart pointing to that URL.

-Bil

 
 
 

Set the folder level when putting a document library web part on a web part page

Post by MS » Fri, 30 Jan 2004 14:54:58

I'm speaking of the second, which is you do it the page view way you get the
entire page (header, options, etc) in the web part, not just the
documents.... kinda useless if I want to put a certain folder of a doc lib
on my personal desktop.






adding
 
 
 

Set the folder level when putting a document library web part on a web part page

Post by Bil Simse » Sun, 01 Feb 2004 15:52:48


the

Getting directly into a folder of a doclib is just a pararmeter passed to
the page (which the aspx code behind will figure out and route the user
appropriately). You can see this URL in your IE address bar when you
navigate into the folder of the document library.

As for the header, etc. I was able to create a new ASPX page (based on the
document library display page) with everything stripped out. Took about an
hour or so of playing around, removing the tags, etc. to get it right, but
it just presented the doclib. Once I had this, I put that ASPX page back up
on the WSS server (you can't run it from a desktop) and in my case created a
web page view part and directed it to that page. You could do the same then
just redirect a blank page to it (or send the users directly to your ASPX
page). This will hide all the extra stuff and put them where you want them
to be.

-Bil