.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Is it possible to disable the recycle bin at the site level?

Posted By:      Posted Date: October 11, 2010    Points: 0   Category :SharePoint

In Sharepoint 2007 we would like to be able to have items automatically deleted & not show up in the recycle bin at the site level or the site collection level without changing the settings for the entire site collection.

Can this be done? Could I setup a workflow to do this for me automatically once something is deleted from a list or document library?

View Complete Post

More Related Resource Links

disable top level site collection


I saw some compaies when they created sharepoint web application, they do not create a top level site collection.  thety created site collections under managed path. For example, the sharepoint web app called http://MyCompanyNmae.com. users can not access http://MyCompanyNmae.com directly. Instead they have to access through






Why they disable the top level site collection? for what purpose?


Thanks in advance,  


Top-Level Search Scope not showing in Sub-Site


I've got a site 'B' created under site 'A' in SharePoint. When I'm at Site A, I can search and find things that exist in both A&B. However, when I'm in B, the 'highest' search scope I can pick is 'B.' I'd like to be able to select one step higher so that I can search A&B from any page. Is this possible?

Rename Top Level Site Name MOSS2007


Hi techies,

      is there any possibility of renaming the TopLevel Site Name in MOSS2007.

Ex: www.Moss1.com to www.Moss2.com

thanks in advance.



Nag: http://nagaraju-sharepoint.blogspot.com. Posting is provided with no warranties.

How to all the Subsites and Site Collections under a top level site collection using client object m

Hello Everyone, I need to know how to get all the subsites and the site collections under a top level site collection using client object model in SilverLight. When I use WebCollection webcoll= ctx.Web.Webs I'm getting the getting subites but i'm not getting the RootWeb and Othe SiteCollections created under the Top Level site collelction.

how to disable creation of security groups as part of site provisioning for out of the box

I have requirements that I would like to create the sites with no security groups. Add users with specific permissions levels. Is there a way to disable the step in the default site provisioning process for out of box templates, that not to ask for creating of the security groups..net Architect

Disable site templates via powershell?

I'm looking to disable certain site templates available to users via the "create site" menu and would like to just do it for one entire web application, but not the whole farm. Is there a way to do this via powershell? (It honestly baffles me that this still isn't a UI control via central admin)

content Type at site collection level using feature.

I m planning to create a feature to install the content type and site colomun at site collection level. Now my doubt is? 1. what will happen when i de activate a feature with documents already there? 2. what will happen when i de activate a feature without documents? What are points i need to take care? 

SharePoint 2010 RTM - Disable My Site ?

Is there a method to "disable" MY Site completly so that users wil be unable to create their own websites or have access to any links that pertain to "MY Site" etc I have been fighting this and looking for a way under Central Admin but thus far I am coming up short. I am running SP-2010 rtm on win server 2008 Thanks Paul  

Restoring from Site Collection Recycle Bin - Item Added

When I restore a list item from the normal recycle bin I can access the item using properties.ListItem. However, when restoring from the Site Collection recycle bin, the listitem is null?! Ok, I thought, the SPItemEventProperties object I have also provides me with WebUrl, ListId and ListItemId so I can spin up a new SPSite with WebUrl, use openweb to get my SPWeb, use ListId to get the correct list and then the ListItemId to get the item. A bit long winded but should get me where I need to be. This would be ok, but at runtime I got an exception list not found. On investigation it seems the WebUrl property is wrong. I've run this on a few different lists/sites and it is consistently wrong! The value I'm seeing is http://[webapp]/sites/[sitecol]/sites/[sitecol]/[web]. Note the repitition of /sites/[sitecol]?! This is really frustrating and very poor. So not only is the ListItem property null(?), but there is no easy way to get the list item manually! Does anyone else see this behaviour? Sharepoint is really testing my sanity this week!    

What to do if particular site definition should be appeared at particular subsite level only?


What to do if particular site definition should  be  appeared at  particular subsite level only?


Activating Publishing Infrastructure at the Site Collection level


My task is to my company's branding solution to two new sites. I can upload the solution but I cannot activate it. I can't activate it because SharePoint Publishing is turned off on the sites. When I attempt to turn on SharePoint Publishing, I get this error:

The feature being activated is a Site scoped feature which has a dependency on a Site Collection scoped feature which has not been activated. Please activate the following feature before trying again: SharePoint Server Publishing Infrastructure f6924d36-2fa8-4f0b-b16d-06b7250180fa
The Site scoped feature being activated has a dependency on hidden Site scoped feature 'FeatureDefinition/22a9ef51-737b-4ff2-9346-694633fe4416' (ID: '22a9ef51-737b-4ff2-9346-694633fe4416'). Hidden features cannot be auto-activated across scopes. There may be one or more visible Site scoped features that auto-activate the dependent hidden feature.

I can't seem to locate the Publishing Infrastructure feature. The Site Collection List provides information about each site collection but no access to their features. How do I turn on Publishing Infrastructure?

Error: There are no page layout files available in the master page library of the top-level site.

I exported one of the subsite using stsadm and imported into a new site collection, I could access the new site collection but whenever I try to create a new page in my new site collection I get the following error.

There are no page layout files available in the master page library of the top-level site. Add one or more page layouts to this library before you create a page or set page properties.

Please help. Thanks.

How to disable "Colleagues on My Site" in MOSS 2007 from Manage Policy from SSP?


I am trying to disable "Colleagues on My Site" policy, under the Shared
Services Administration. But when I try to disable it it is not editable.
I can click edit but then enable is set and it is grayed out.

Any ideas


Hide ribbon, Hide site content/recycle button. Caledar overlay. Document publishing. Other questions


I have a 2010 farm operational and working well. I had a few questions.

(1) How to disable ribbons from appearing on the top (for anonymous sites).

(2) When I move the mouse over a tab in the top bar, how do I display a banner. It was easy enough in 2007, but I am not sure in 2010.

(3) I have disabled quick launch. But it still displays all site content and recycle bin. Is there a way to not to show those.

(4) Calendar overlay - Is this to display multiple calendars in one calendar using different colors to differentiate them. But if I had calendars in different site collections, then I guess due to the gallery boundary, I cannot calendars from multiple site collections.

(5) Document publishing - For some reason, this was easier in SPS 2007. I am not able to get it to work in 2010. Basically update a web page dynamically from a word document. Could anyone kindly provide a link. Also, would I be able to update a page in one site collection from a document from another site collection.

(6) Is it possible to move a folder/doc from one document library to another in one site collection (without webdav). Further, can I move a document library from one site collection to another.

Please advise. Sorry if I asked too many questions in the same post. I am newbie and this is my first post.



Site Collection Administrator and Recycle Bin


Hey everyone,

I would like to know if it iwas possible to block the site collection administrator from accessing the site collection recycle bin.



change people picker to a site level scope


Hi NG,

I created a couple of sites inside one site collection.
Every site uses its own permission groups.
Now I want to constrain the people picker to use only one specified AD - group as search base.
I want to define one AD - group per site.
I found some basic information about 

stsadm –o setproperty –pn peoplepicker-searchadcustomfilter –pv … -url …

Is this the right way?
Is this command working on a site level?
How could I delete filters which are not necessary anymore?

Thanks in advance


Calendar Web Part for use in 2 locations - Top level site and Sub-site?


Please Help!

I have created a Calendar Web Part at a top level site; I would like to use this exact same web part in a sub-site.  I need for the web parts to share the same information and if an event is entered into one web part the second one would automatically show the new information.  This is why I would like to use the exact same web part, just display it in two locations. I was able to do this with SP2007 & 03 but cannot seem to do this in SP2010.  

Does anyone know how to do this in SharePoint 2010 Standard ed.?  Is this even possible in SP2010?

Thanks in advance for your help.

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend