Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [delete]

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

4
votes
1answer
264 views

Missing delete attachments button

I have Calendar wherein the EditForm ListFormWebPart the button needed to delete an attachment is missing on some (almost all) attachments. I'm Admin so I don't think the problem is regarding ...
1
vote
1answer
827 views

How to delete a site column via Javascript/JSOM

Is there a way to delete a site column (and remove it from all according content types) via Javascript? I found some CSOM scripts and tried to approximate the JSOM method but it didn't work out. The ...
0
votes
1answer
46 views

Sharepoint 2010 document is not being hard deleted

There are some documents in our content database that need to be hard deleted. I've logged into as a site admin and using the interface gone and deleted them and even deleted it from the recycle bin. ...
1
vote
0answers
60 views

Site Use Confirmation and Deletion - Custom Email - SharePoint 2013

Is it possible to send a custom email while using the "site use Confirmation and Deletion" from central administration in SharePoint 2013. I would like to send a customized email with the links ...
1
vote
2answers
2k 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 ...
3
votes
2answers
198 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 ...
1
vote
1answer
1k 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
15 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 ...
4
votes
2answers
2k 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
1k 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
250 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
0answers
495 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 ...
2
votes
0answers
237 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 $...
6
votes
1answer
6k 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 ...
6
votes
1answer
1k 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
2answers
77 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
5k 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 ...
0
votes
2answers
45 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?
1
vote
0answers
47 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
268 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
18 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 ...
1
vote
1answer
3k 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
555 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
2answers
141 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
4answers
5k 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
4k 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
1k 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
61 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 (...
0
votes
0answers
58 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 ...
2
votes
1answer
433 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
30 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 ...
1
vote
1answer
3k 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
2k 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
72 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
603 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 ...
4
votes
2answers
17k 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. ...
3
votes
1answer
425 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 ...
5
votes
3answers
9k 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. ...
0
votes
2answers
546 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
62 views

Broken List Cannot be Deleted

Related to Broken Lists Cannot Be Deleted. How can I accomplish this in Sharepoint Online?
0
votes
2answers
322 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 ...
0
votes
1answer
2k 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.
1
vote
1answer
1k 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
1k views

Delete users from Profile Missing from Import view

I need to delete users from user profile in the view Profile Missing from Import. I tried to run the My Site Cleanup Timer job but they are still there. How can I do?
1
vote
1answer
116 views

Undeletable/Unhideable/Unchangeable fields in Calendar List

I am making a Calendar in SharePoint, but I have some problems with the Title and Description fields. I don't want the Description field at all, but I am unable to delete it in SharePoint Designer. ...
1
vote
2answers
878 views

delete sp.listitem in client object

I've an issue to delete document in a document library. I did not get any exception but document is not getting deleted clientContext.Load(oldItem.File); oldItem.DeleteObject(); oldItem.Update(); ...
0
votes
1answer
434 views

Deleting a single item from RecycleBin gives error “operation is not valid due to the current state of the object.”

I have below code , but it gives mentioned error on ExecuteQuery() after item.DeleteObject(). Site collSite1 = _ctx1.Site; RecycleBinItemCollection collRBI1 = collSite1.RecycleBin; _ctx1.Load(...
1
vote
0answers
372 views

Deleting files is slow

I noticed recently that when I delete files or list items (1 or 50) it takes about 1-2 minutes to process. Also, if I delete multiple files it times out and some files are not deleted. Has anyone had ...
1
vote
1answer
2k views

Deleted user still appearing in _api/web/siteusers

We created a bunch of users that we had to then delete in Office 365. I understand the default retention policy is 30 days so hopefully they will disappear soon. Is their a way of determining a ...
3
votes
2answers
3k views

How can I see what documents have been deleted from a Document Library?

I have a document library that had files in it yesterday. Today it does not. When trying to view some sort of an audit log I realized I didn't know how to. I'm using SharePoint 2013 Online. How can I ...