Hi all ,
Just trying to limit people creating new folders in a particular document
library.

is there a way to do this ? i now you can set up certain views and the
datasheet , but it would be great if I could disable ( even on a temporary )
basis?

tks
Renata

RE: How can I remove the " new folder" icon by c

c
Fri Feb 25 08:29:13 CST 2005

Renata,

The only way to prevent users from creating folder in libraries, that I'm
aware of, is to edit their site group permissions and remove "Add" rights.
Of course this also means they won't be able to add new documents either.
They could still modify existing documents, but not add anything new. This
probably isn't the result you're looking for unless the library content is
relatively fixed, but it might at least give you some options.

I hope this is helpful.

Thanks
C



"Renata" wrote:

> Hi all ,
> Just trying to limit people creating new folders in a particular document
> library.
>
> is there a way to do this ? i now you can set up certain views and the
> datasheet , but it would be great if I could disable ( even on a temporary )
> basis?
>
> tks
> Renata

Re: How can I remove the " new folder" icon by Ryan

Ryan
Sat Feb 26 18:41:33 CST 2005

you can also convert the view to a DVWP and then delete the button from
the toolbar. I'm sure there's probably a more elegant way, but this one
works...


Re: How can I remove the " new folder" icon by dbsearch04

dbsearch04
Tue Mar 01 23:33:46 CST 2005

Yet another way to do this "natively" is to modify the button in CAML
so it is disabled. This only works if you do this *before* the list is
created.

I was interested in this, so I did some experiments. Basically, you can
modify the SCHEMA.XML in the list definition. Because of all of the
[CDATA[ stuff, it is a little tricky.

In the snippet below, first, I made the button go to the setting page
(this could be used to make it go to an error page). Then I commented
out the anchor tag so it would not go anywhere at all. In the second
experiment, the class=.. needed to be moved/copied to the TD element to
make it display correctly.

I have not figured out (yet) how to diable this from an already-created
list. When I do, I will post it here.

Regards..
---------------------------------------------------------------------------
.....
<td class="ms-toolbar" nowrap>
<! a tabindex=2 ID=diidChangeOrderButton class="ms-toolbar" ACCESSKEY=R
href="javascript:" onclick="javaScript:GoToPage(']]></HTML>
<HttpVDir/>
<HTML><![CDATA[/_layouts/[%=System.Threading.Thread.CurrentThread.CurrentUICulture.LCID%]/settings.aspx');javascript:return
false;"]]></HTML>
<HTML><![CDATA[ target=_self>
]]></HTML><HTML>Change Order 32</HTML><HTML><![CDATA[
<! /a> </td> </tr> </table> </TD>
]]></HTML>