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.

1
vote
2answers
437 views

Deleting sharepoint list items with pnp results in bad request

Running pnp in modern script editor spfx web part, can add items, get items from a list, but cannot delete items from a list: $pnp.sp.web.lists.getByTitle('List Name').items .filter('Title eq ...
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 ...
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?
0
votes
2answers
353 views

Remove all files using REST

Is there a way I could remove all files from given folder using SharePoint REST api?
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 ...
3
votes
1answer
426 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 ...
1
vote
1answer
243 views

Unable to restore list item from recycle bin Sharepoint 2013

Hello a user deleted a record from a custom list. I went to the recycle bin to restore it but when I try it It shows me with the unexpected error screen and the correlation ID. I'm unable to restore ...
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
33 views

How do I create a REST call in SharePoint 2013 Designer to delete records from the Workflow History List?

I use the Workflow History List for debugging and the option of turning on debugging for flows that are in production. I would however like a workflow that purges the records in this list based by ...
0
votes
1answer
15 views

Send email when a file is deleted to the user who had uploaded the file

I want an email sent out when a file is deleted. The email should only be sent to the user who had initially uploaded the file to the share point folder. I know we can send an email to specific users ...
0
votes
1answer
49 views

Uses “seem” to have deleted files in a SharePoint library

I have see a strange issue a few times at my client. They are using SharePoint Online and mainly using the syncronisation option to sync the files locally using OneDrive. Sometimes files are deleted ...
0
votes
1answer
157 views

Trying to delete SharePoint folder using API

I'm following this https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest to try and delete a folder in a SharePoint library. I'm writing a c# console app ...
0
votes
1answer
522 views

CSOM - file.DeleteObject() doesn't delete file

am trying to do a simple operation "Delete file from document library using CSOM" As i have only the Relative path http://hostname/subsite/subsite/doclibname/sample.docx I used below code to get the ...
0
votes
1answer
585 views

Delete document from document library on basis of “Document ID” - CSOM or REST

We are developing an API to be called by external application. To have unqiue document ID across Site Collection we have enabled "Document ID service" Using CSOM we have been able to implement ...
0
votes
1answer
102 views

2010 REST Delete List

I have a List that I have been tasked with creating. The idea is to make a "Master View" that joins several other lists from the same site into one. It is my understanding that it is no possible to do ...
0
votes
1answer
285 views

I'm Site Owner - Cannot Delete List Items

I apologize for the basic question, but I seem to have found myself in trouble trying to help our team by updating our outdated sharepoint site. Working with this site (specifically understanding ...
0
votes
1answer
30 views

SharePoint 2013 / Data Scrubbing

After you delete an item or document from a list or library, and then the recycle bin and secondary recycle bin, does the data remain in the database for a certain amount of time? .. or forever unless ...
0
votes
1answer
486 views

SP - C# Delete Item - Error message: 0x80070005 (E_ACCESSDENIED))

When i trying to delete listItem from list and anonymous access in site perm(for Fund3) is disabled my code throw exception. Where anonymous access is enable everything is OKAY-> items are deleted.......
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. ...
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 ...
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 ...
0
votes
1answer
271 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 ...
0
votes
1answer
605 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
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
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(...
0
votes
1answer
70 views

Submit Form Without Saving to List

How could one create a form which does not actually save form data to the list upon submission? The data will be used in a workflow which fires a powershell command using a workflow action solution by ...
0
votes
1answer
108 views

Custom webpart deleted after editing the page?

I insert a custom webpart in the page, It's working good. But when I click in edit page I find the webpart is deleted! What is going on?
0
votes
1answer
48 views

I set up in Sharepoint Create Elements, and edit elements only created by user

http://screencloud.net/v/2xVc But when manager Is created a element it's generate me error. How do If on development If i Can delete element? Please help. I have got this sort of code: for (...
2
votes
0answers
36 views

“Preparing to delete” message box — what's going on behind the scenes?

I'm currently attempting to delete a folder located within a document library that has 5000 subfolders, and each subfolder contains 2-7 files, totaling just over 6GB. The problem is, whenever I ...
2
votes
0answers
907 views

Items stuck Checked Out, can't check in

I'm doing a purge of a bunch of list/libraries used in a QA environment (using the script found here) and have run into a snag where 3 items in a particular library are checked out to a user but I am ...
2
votes
0answers
497 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
238 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 $...
2
votes
0answers
1k views

How to delete a Task that is associated to an item and workflow that have been deleted

I have a task that is associated with an item (in another list) that has a running workflow. However, the item was deleted over a year ago and therefore it is no longer recoverable from the recycle ...
2
votes
0answers
3k views

Cannot delete a folder in a library

I am replacing a colleague for the support of a SharePoint 2010 intranet. I want to delete a folder in a library. The folder to delete is special : I can see the folder in the intranet I cannot see ...
1
vote
0answers
121 views

How to delete excel temporary file “~$” in document library without delete permission

I have a document library which the normal user can only create and modify the files, they cannot delete them. But when they modify the files, there will be some temporary files "~$" being created in ...
1
vote
0answers
708 views

Flow: how to get deleted item values?

I need to make some updates to a list based on the data deleted in another list. I tried using 'When an item is deleted' trigger but when I try to get the data in the column which was just deleted I ...
1
vote
0answers
17 views

SharePoint 2013 Permissions - A.D and SharePoint 2013 on premis

I wonder if anyone could advise on this. I have a user that cant use all the functions within a document library, edit delete etc. To me this points to permissions. I have checked the site ...
1
vote
0answers
741 views

Unable to delete list item attachment

my business user was unable to delete list item attachment. He deleted the attachment while editing after save and reopen the attachment still appearing on item. I am unable to reproduce the issue in ...
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
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.
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
0answers
374 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
0answers
116 views

Use workflow to delete or amend list items

I have a holiday booking system that creates list items showing the name and dates of holiday for employees. After management approval, the requests sit in a list called "Holiday Requests". They are ...
1
vote
0answers
1k 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" ...
0
votes
0answers
366 views

Why is there inconsistent behaviour in different tenants when deleting folders?

I have a document library in a SharePoint Online site. When I try to delete a folder with sub-folders and content items in the folder I get the error message as follows:- you have to delete all ...
0
votes
0answers
26 views

SharePoint Online permissions required to run a jquery script that removes resolved user on edit form

I have a jquery script placed on a list edit form that removes resolved user from a people picker field. But the problem I am having is, it works for certain users and it doesn't for others. I tried ...
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 ...
0
votes
0answers
85 views

stsadm -o deleteweb access denied

I am trying to remove a subsite with Sharepoint Management shell 2013 stsadm -o deleteweb -url http://mysharepoint/testsubsite and I get Access denied. Note: if I point to http://mysharepoint/...
0
votes
0answers
398 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 ...