Deletion is a way of removing a file from a computer's file system or removing a file stored in an database.

learn more… | top users | synonyms

2
votes
1answer
55 views

Deleting a blog post leaves related .png files in Photos list

I used the blog template when creating a new subsite within mysites and in the process an associated list called Photos got created. While this has worked well, I've noticed that when I delete a blog ...
0
votes
3answers
679 views

Error on recreating web application

I've written a powershell script to create a web application, add libraries and pages, etc. As I work through the script and fix bugs and issues, I delete the web application through central ...
2
votes
0answers
95 views

Deleting or removing users from a workflow, after if they no longer need to complete the task [closed]

A user has created a workflow with multiple participants. One of the participants assigned a task, no longer needs to complete that task. How can we remove the user or task without the workflow status ...
1
vote
2answers
2k views

SharePoint 2010 - Unable to delete list item

I have to delete list item but not able to do due to some permission issue : 1. Ribbon 2. Powershell 3. Information Policy Management 4. Logging through site collection admin / App pool account ...
3
votes
1answer
2k views

Delete list items and bypass recycle bin

I have a list with about 15,000 items and I need to empty it by permanently deleting everything in the list. I have other items in the recycle bin that I don't want to disturb. Here's the script I'm ...
1
vote
0answers
387 views

Delete attachment from SharePoint AttachmentsField Control not working

I have a custom visual web part that contains a SharePoint AttachmentsField control. <SharePoint:AttachmentsField ID="AttachmentsField1" ControlMode="Edit" ItemId="33" EnableViewState="true" ...
1
vote
1answer
559 views

Prevent a group from deleting document version history

In a Document/Form Library with versioning enabled (SP 2010), it is possible to delete all versions of a particular document/form simply by going to the "Version History" dialog box. This ability ...
1
vote
2answers
564 views

Recycle bin - documents deleted

I have recycle on my site collection. There is also and event receiver which deletes some documents from library in ElevatedPrivileges block ( as System account). OnItemDeleting it's searching for ...
1
vote
1answer
218 views

Deleting SPListItem in event receiver - very long time

I have an event reciever with ItemDeleting action, in which i try to delete an item from another list (I cant realy use cascade delet behavior here, I need to do some stuff that requires the ...
1
vote
1answer
343 views

SPList.Delete() vs. SPWeb.Lists.Delete(SPList)

Assuming I already have the list object, is there some difference between calling its Delete extension as opposed to removing it from the Lists collection? Why would I ever choose the latter?
0
votes
1answer
97 views

How to get task name while deleting in EventReceiver?

I have written my Custom function into the EventReceiver created on Tasks. public override void ItemDeleted(SPItemEventProperties properties) { base.ItemDeleted(properties); ...
2
votes
2answers
355 views

Does SPWeb.Delete() Dispose of the object?

I recently got a comment on my Deleting a site with subsites programmatically article about properly disposing of SPWeb objects after they've been deleted: Don’t forget to dispose the deleted web. ...
0
votes
1answer
887 views

Correctly remove old items in Sharepoint Calendar

I have a standard Sharepoint Calendar, which users regularly make entries to. As the number of items constantly grows, I need to remove old events. There's no business need for events that are older ...
0
votes
1answer
134 views

Deleted users and metadata

If I delete users from SP (AD), how will that affect metadata (e.g. created/modified by in file metadata, or person lookup fields). Will I end up with anonymous ugly SIDs?
0
votes
1answer
230 views

List not updating correctly after programmatically deleting items

I have a custom webpart control on a page which, upon page load, deletes the items from a list (displayed on the same page as the custom webpart). After deleting the items, the code also populates it ...
1
vote
2answers
1k views

Delete Excel file in SharePoint 2010 library only by using VBA

I am having a excel workbook. When a person click on the marco the files are saves to two new folders need to delete a Excel file on SharePoint. I have tried the "Kill" function in Excel VBA, but is ...
1
vote
2answers
2k views

Client Object Model : “Microsoft.SharePoint.Client.ServerException: The request uses too many resources”

When deleting 1000+ (link) items from a list in one batch using the COM, I encountered this exception : Microsoft.SharePoint.Client.ServerException: The request uses too many resources It seems ...
0
votes
0answers
321 views

MOSS 2007 cascade delete non-programmatically?

Using SharePoint 2007 (and SharePoint Designer), is there a way of faking the cascade delete that I understand is available in SharePoint 2010? I have two custom lists: Orders and Line Items. The ...
2
votes
2answers
911 views

Unable to delete item via ribbon Delete Item button

I have a generic list of items in SharePoint 2010. When I select an item with the left column checkbox, then select Delete Item from the ribbon, the item does not delete. Looking at the traffic in ...
1
vote
2answers
257 views

Unable to delete site outside of site collection

In a fresh install of SharePoint 2010, I naively built a site without first creating a site collection to put it in. The site sites in the root of the server's URL space (i.e. it is simply ...
0
votes
1answer
457 views

why the delete is so slow?

A truncate would really help cause for each delete loop will take for ever. I am trying to delete 500k records and it's very slow. It's taking 3 minutes to delete 1 record. # Delete items from a list ...
4
votes
7answers
11k views

How to delete all items in a List using PowerShell

I am using following PowerShell script to delete all items of the List. It's working fine but take too long for huge lists. Is there any efficient way of clearing list items, something like truncate ...
0
votes
2answers
1k views

Restoring a Deleted User in the Site's Owners and Members Groups SharePoint 2010

I have accidentally deleted some users from the site's members and owners groups. How do I restore these users back to the site?
2
votes
2answers
3k views

Preventing users from deleting an item from a task list

I am using the ItemDeleting event receiver to prevent users from deleting items in a Task List. Currently, my code looks like: if (properties.ListTitle == "Project Intake Tasks") { ...
0
votes
1answer
535 views

Why can I delete records in folders inside a records library?

I have create a new site collection based on the records center template. In this site collection I have a records library "records" which has automatic record declaration turned on (so all files are ...
0
votes
1answer
1k views

creating event handler feature - OnDeleting

I'm trying to create a sandboxed event handler feature to handle the OnDeleting event of a task list in SharePoint 2010. I followed Microsoft's instructions. When I deploy the event receiver from ...
4
votes
2answers
279 views

Delete a 60GB list

I have a runaway list which - due to a recursive workflow and versioning - has grown to 60GB. We are now trying to delete it. It is in the recycle bin, however I want to remove it completely. If I ...
1
vote
1answer
955 views

Can't delete List item after setting lookup deletion to restricted

I have a List Item and I wanted to delete it. It's nothing special at all, but it fails. I have two lists, Company and Company Contacts. Each Company have 0...n contacts. A company can't be deleted ...
0
votes
1answer
278 views

How to remove xap file on uninstallation of sandboxed solution

I have built a simple Silverlight control and a WebPart to go with it. This is my first SharePoint project and I was very confused most of the time (I.e. I am a Sharepoint noob) :-) The Silverlight ...
1
vote
1answer
208 views

Delete a list with 4000 items

I have a sharepoint list which has grown above the maximum recommended size of 2000 items. I need to delete the list. If I delete it through the browser, will there be any impact on the farm? Will ...
3
votes
1answer
710 views

How to remove duplicate EventReceiver entries

Lately i had a bug that time-to-time added duplicate event receiver entries in SPEventReceiverDefinitionCollection. So how do i easily enumerate and remove these duplicate entries?
4
votes
1answer
9k views

Disable the delete option from Sharepoint list 2010

I have a custom list in SharePoint 2010, for which, the requirement is to disable the delete option. Users should be able to add to the list but not delete. Is there anything oob for that?
0
votes
2answers
224 views

How do I trace who delete the sites and its content if I am the owner of the site but not the Administrator?

I am a owner of three sites, which all of them are sub-sites. I am also not the administrator of the "root" site (which contain many sub-sites including the three sites that I am the owner of it). ...
8
votes
3answers
11k views

How to delete the undeletable list

Somehow a developer has managed to royally screw up a site collection. The site collection has the Publishing Feature enabled and it's working fine. A botched migration from 2007 to 2010 has caused ...