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

0
votes
0answers
17 views

rest api delete folder deletes the desired folder, the document library and all sibling folders

This first call deleted the folderName AND the libraryPath and all folderName siblings (Everything in libraryPath) [...]_api/web/GetFolderByServerRelativeURL('#urlencodedformat(arguments.libraryPath)#...
0
votes
2answers
37 views

How to delete more then one record in view

I am trying to delete more then records but I am not sure how, I know in SharePoint 2010 you can edit in datasheet view and easily delete them but how do I do it in 2007?
0
votes
0answers
47 views

Delete item with specific name from a list in SharePoint online

I am trying to delete a file using powershell with a specific name from a document library with the following code but I couldn't $SiteURL = "https://mytest-my.sharepoint.com/personal/...
0
votes
1answer
14 views

How to delete a discussion from SharePoint Online - Office 365

I have full admin rights to our SharePoint/Office 365 and I've added several test discussions in a discussion board. When I open a discussion, I don't see any delete options on the List ribbon or ...
12
votes
5answers
16k 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 ...
3
votes
2answers
38 views

Delete more than 1 List item based on Closing date in SPS2013 List

I`ve created a workflow from SPD2013 for SPS2013 List, that will delete the list item based on closing date equals to today. Issue, it does it for the only one item, even though if there are more ...
3
votes
3answers
3k views

Cannot delete site collection in Central Administration

I had created a site collection. But there is a problem of web-frontend server (I did not know when I created the site), so the page is always in processing. After waiting 40 mins, I closed the page. ...
1
vote
2answers
4k views

Powershell - Delete / remove all site collection under a spesific managed path

I've created a managed path for my team sites - called "workspaces". All team sites Have been created under the same managed path. ex: http://awesome.com/workspaces/teamsite1 http://awesome.com/...
0
votes
1answer
63 views

How ListItem.DeleteObject() works?

I have several Lists in my site. Among them I am trying to find out duplicate values in 3 of the lists, Publisher1, Publisher2, Publisher3. I am searching in the lists and saving the duplicated ...
0
votes
1answer
12 views

delete item that only has no edit rights

I made a workflow that (among other things) changes the rights of an item. It changed that a certain group only had read rights instead of edit rights. I, as an admin, am also in that group ...
0
votes
0answers
25 views

Delete Queried record from list in C# using LINQ

Summary - I have a HUGE list (Having 1.7 million records) from which I need to delete large numbers of records like 10-20 thousand at a time. They were added as a batch, so I can easily query them ...
2
votes
0answers
65 views

How can I delete a list item with a workflow without it skipping the Recycle Bin? [SPO]

I created a very simple 2013 List Workflow in my SPO site using the designer. It does 3 things: "Delete item in Current Item" then Email "my email" Go to "End of Workflow" It deletes the item, ...
0
votes
2answers
128 views

Item Edit Form: Delete Item on “Cancel”

I am building a custom list item edit form using SharePoint Designer. I need the item to be deleted when user clicks "Cancel" button (same functionality as he would press "Delete" in ribbon). I ...
0
votes
1answer
17 views

Clear out remnant LDF log files of Sharepoint DB not visible on SBS 2008 Domain Server?

Screenshot of files, location & DBs in Microsoft SQL Server Management Studio Express GUI: I've looked at several answers and tutorials on how to clear out the LDF via GUI and SQL commands, but ...
2
votes
1answer
2k views

Cannot delete content type - possibly because it's referenced in SharePoint's UI

I created a content type to play around with. I created a publishing page based on this content type, but after deleting the page (and clearing the recycling bin) SharePoint won't let me delete it. ...
0
votes
0answers
53 views

How to delete another person's post from site newsfeed?

I have a site with newsfeed enabled (and subsites again with newsfeed enabled). How can I assign a person to be moderator of the newsfeed and delete other people's posts? Site collection admin cannot ...
0
votes
0answers
43 views

Call a Javascript Funtion when Delete Operation Occurs in Document Library

I need to call a Javascript function when a delete operation occurs in a document Library. What is the best way to do so? Example: Suppose I need to show a JS Alert when a document is deleted.
1
vote
0answers
62 views

Unable to Delete Managed Property (Error Code 11) - SharePoint Online

I have managed property created with PowerShell using schema. Now I don't want to have that property anymore, so for that I am simply going in Office 365 admin center site and deleting the managed ...
1
vote
0answers
37 views

Batch or Bulk delete of groups under a single SPWeb

Can someone help me with a powershell or C# code to do a Bulk delete of groups on a SharePoint site? I already know about this code: $site = Get-SPweb "http://root/locations/site" foreach($group in $...
0
votes
2answers
104 views

Disabling delete listitem clientside

I added a Related Item View to a Displayform, as standard there is the Select all flag/button. In order to deny the user from deleting a listitem I'd like to remove this button. Is there a way to do ...
0
votes
0answers
39 views

Custom list item delete? (the list type is of contact )

I have a custom list of type contact on SharePoint 2010, I'm trying to remove a contact from the list but I'm not able to do, it gives me error: User cannot be deleted. Message: Object ...
4
votes
1answer
230 views

SharePoint 2013 - Deleted subsites not going in Recycle Bin

I am a bit confused with regards to the Recycle Bin when it comes to SharePoint 2013. A few quick Google searches suggested that when one deletes a sub-site, the site will not be permanently deleted ...
0
votes
1answer
853 views

How to delete host name site collection

How can I delete a host named Site Collection? Its 2013 SharePoint Foundation. I tried to create few but they didn't worked.
5
votes
1answer
146 views

Remove and recreate all personal sites - mysites - remove them from DB without waiting ~25 days

Is there a easy way to remove (delete) all personal sites and recreate them all over again? I also want to delete them from the sql. I've tried to delete personal sites and run my site clean up job ...
1
vote
1answer
851 views

SharePoint 2010 - Delete user profile

Organization Browser in mysites was still displaying users who were disabled or deleted from Active Directory. We did not turn on the SharePoint 2010 My Site Cleanup Timer Job because it sends emails ...
1
vote
2answers
60 views

Clean old SP users

I look for synchronize my SP users regarding to the AD users. I thought that I remove a user in AD, it would be removed from SP but not at all! How can I remove all users in SharePoint deleted in ...
0
votes
1answer
848 views

Cannot delete a web application

I am trying to delete a web application in my SharePoint 2013 environment. The first attempt deleted the database, the application pool, the IIS site... But the I got an error saying An object of ...
1
vote
0answers
23 views

Whether item.recycle method will trigger event receiver?

When an item.delete() methods get called it will trigger the respective item deleting and item deleted event receiver. Whether this will behave same for the item.recycle() method too.
0
votes
1answer
38 views

Delete items from SP2013 List using excel list as filter

Is there possible a way to delete multiple items from a SharePoint 2013 list the details of which lie in an excel file. We have an excel file of the SharePoint list data and would like to only delete ...
0
votes
1answer
9 views

Deleting SharePoint files via Excel

At work we have a spreadsheet of accounts that after a certain amount of time need to be deleted. So far the only way we have to do this is by manually going through each and every account and hitting ...
2
votes
3answers
12k views

Cannot delete document, error: The file is currently checked out or locked for editing by another user

I am using sp2013 onpremise. I have an document library named Documents. I have add a new word document. I try to remove this document, but it give me an error: Het bestand is momenteel uitgecheckt ...
0
votes
1answer
86 views

Completely remove field from Content Type?

I recently tried to delete a Multi-line Text Field from a custom Content Type. I then attempted to delete this field, and re-create it as a Single line of text under the same field name. After ...
0
votes
2answers
77 views

How to delete a large number of Content Types from Content Type Gallery?

We have a lot of InfoPath forms deployed on our SharePoint 2013 farm as custom Content Types. Over the period of time there are now a lot of such unused custom content types in gallery. When i say a ...
0
votes
3answers
918 views

Hide button “Delete Item”

I have a problem, because I want to accomplish a task before you delete an item from my list. For this I created a button "Delete client" that runs a workflow or run a javascript. But we have failed ...
0
votes
2answers
1k views

Removing SPWeb properties from its property bag with powershell

I need to remove properties from multiple places with powershell script. I tried many examples from net, with null assigning and using remove on Properties and AllProperties, or using method ...
0
votes
2answers
389 views

DeleteObject doesn't work anymore in SP 2013?

In a web application, I had a C# function to delete files from a SharePoint library. In SharePoint 2010, everything went fine. In SharePoint 2013, it always returns an error "File Not Found". Can ...
0
votes
1answer
41 views

Two synchronized lists how to delete element in both lists

I have got two lists with unical name. I have got, this code: public override void ItemDeleting(SPItemEventProperties properties) { base.ItemDeleting(properties); if (...
7
votes
9answers
23k 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
0answers
36 views

Deleting an Orphaned Info-path Item in browser based infoPath form Library in SharePoint 2010

We have an orphaned info path item in form library. There is no record of that item when we open in the explorer view. While trying to delete it using power shell, an error is occurred saying - access ...
1
vote
1answer
48 views

MissingSetupFile issue - file does not exist

I am trying to get rid of the health error [MissingSetupFile]. I followed some guide to get (querying the contentDB) the Id of the file (and of the Site and Web). The issue is that the file does not ...
1
vote
0answers
25 views

How to find and remove all banners related to a campaign page?

at the company I work for we manage a large SharePoint installation. Recently our client asked us to delete all banners related to an old campaign. The banners are all pointing to the same page. Is ...
0
votes
1answer
448 views

Is there a way to bulk delete records

It seems that I have a a lot of duplicated records in my " central " area so I wanted to either filter by Area then delete the duplicates if there is a way to do that or bulk delete every record that ...
0
votes
2answers
117 views

Delete all documents in Library

I recently created a Sharepoint site (Record Center) for making a hiring portal. But I have an issue. I am unable to delete all documents in one go from "default" library (renamed Job Applications). ...
0
votes
2answers
43 views

Deleting items in object-model

How to add a new item to SharePoint list in server object-model using C#. This is my code and I want to delete just one item using listBox SPWeb web = SPContext.Current.Web; ...
0
votes
1answer
183 views

Disable the delete confirmation dialog/message

When I delete an item or document from a list we get the "Are you sure you want to delete this item?" dialog. So it is not possible to directly delete an item, one has to confirm the deletion by ...
0
votes
0answers
38 views

Delete the “Everybody group” from Office 365

I don't want the "Everybody group" to be used in my Sharepoint. We have students and staff, but if "Share to everybody" is possibly there could be problems. I have the two groups "Students" and "Staff"...
3
votes
1answer
208 views

Deleted user - Remove link to UserDisp or Person page

I'm trying to figure out what removes links from Created By/ Modified By fields for a deleted user? To elaborate I have a user who no longer exists in LDAP source, so does not exist in UPA and in ...
0
votes
2answers
300 views

OnDelete Event Receiver delete associated item

I have 2 lists. List A creates a record in List B on the creation of a record in List A. So, I'd like to complete the circle by deleting the the item in List B when the record is deleted in List A. ...
0
votes
1answer
41 views

Broken List Cannot be Deleted

Related to Broken Lists Cannot Be Deleted. How can I accomplish this in Sharepoint Online?
0
votes
2answers
236 views

Remove attachment from SPEmailMessage

I've written an Event Receiver (SPEmailEventReceiver) which is used to populate metadata based on the email message contents. The Event Receiver saves the Attachments in the same Document Library as ...