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.

Filter by
Sorted by
Tagged with
1
vote
1answer
18 views

How can I remotely delete a file in document library in sharepoint online using remote event receiver?

I want to write a program using remote event receivers to delete a file within a document library. when itemDeleted event fire the that same file which was in another document library should be ...
0
votes
2answers
25 views

How to get deleted file when itemDeleted event fire in remote event receiver

How to get the deleted file when itemDeleted event fire in remote event receiver in SharePoint Online. I have tried as follows but this does not work: List photos = clientContext.Web.Lists.GetById(...
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
1answer
617 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 ...
1
vote
1answer
25 views

Hide delete button in Modern team site SharePoint Online library

How can I hide delete button in modern team site library allitems.aspx page. I don't want to remove delete permission. Because I am planning to run a workflow on item deleting. So I am planning to ...
0
votes
2answers
37 views

SharePoint Online: User can delete their own document or files, can't delete other's files

I would like users to only be able to delete their own files, But edit and view everything else. Is this possible in SharePoint Online?
2
votes
0answers
9 views

Workflow does not execute all parallel actions (Nintex)

Workflow does not execute all parallel actions Dear community, I am quite new to work with Nintex and so is my company. I could not get any support from my company so I try my luck here. We have ...
1
vote
1answer
648 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 ...
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 ...
1
vote
3answers
43 views

Locked Out of SharePoint Site

A recent SharePoint Administrator who is no longer with my Company created a "Test" SharePoint Site with only himself having Full Control Permissions on the site, with everyone else having Read rights....
0
votes
1answer
37 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
2answers
49 views

Error {“readyState”:4,“status”:404, “statusText”:“not found”} in SP Online Delete ListItem

I am not able to delete the list item using the getitembyid(ID) method using SP Online REST call. I am making a call to deleteitem(murl) where murl ===> for (var i = 0; i < data.d.results....
1
vote
1answer
2k 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
4answers
307 views

SPListItem.Delete() has some issues

I have a list which consist of more than 5600 items. In my application i will search all the items from particular date range by using SPquery. As the result of the SPQuery, the splistitem collection ...
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 ...
0
votes
1answer
408 views

Delete folder with subfolder and files from SharePoint Online with a Macintosh

I have a sharepoint folder where I accidentally dropped a folder with a many subdirectories and files. I would like to delete it all by deleting the top level folder, however I keep getting an error ...
0
votes
1answer
17 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 ...
3
votes
1answer
65 views

Recycle Web, NOT permanently delete with PowerShell/CSOM

In SharePoint Online is there a way to send a Web (a sub site) to the site collection recycle bin via PowerShell/CSOM? I know that a web can be deleted with Web.DeleteObject() but this does a ...
0
votes
1answer
59 views

Deleting old workflows from SharePoint Designer

I do not have access to SharePoint Powershell, but am (poorly) trying to develop in SharePoint Designer 2013. As I try to build a workflow, I've noticed several artifacts being stored that I cannot ...
1
vote
0answers
140 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
2answers
52 views

SharePoint site online deletion

I mistakenly launched a script that allows the removal of SharePoint online sites and I deleted a very important site. Is there a way to retrieve it?
0
votes
1answer
52 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
0answers
509 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
1answer
52 views

How to securely delete files from Sharepoint (so they are unrecoverable)

My business is looking for a way to delete files from their sharepoint pages permanently making them untraceable and unrecoverable. When we delete them now they go into a recycle bin, we can then ...
1
vote
2answers
566 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
1answer
1k views

Can not delete Document Set “The file is currently checked out or locked for editing by another user.”

I have a Doc Set I can not delete. I've tried to delete it via Windows Explorer (in case that would help) and via the Content and Structure menu, but to no avail. As you see in the pictures below, ...
6
votes
6answers
45k views

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

I am using SP 2013 on-premise. I have an document library named Documents. I have added a new Word document. I try to remove this document, but it gives me an error: Het bestand is momenteel ...
1
vote
2answers
34 views

prevent deletion permission on file/folder level

I have a question on this site permission/access level thing. This is my requirement. All users of the overall site get permission to view, edit and delete files and folders. Yet there is one folder/...
0
votes
2answers
409 views

Remove all files using REST

Is there a way I could remove all files from given folder using SharePoint REST api?
0
votes
0answers
27 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
1answer
196 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 ...
1
vote
2answers
25 views

Disallowing Delete from Document prevents movement between folders

I've looked everywhere but it seems that there is an option for Sharepoint365 to disallow document deletion ("Edit" permission group). I went ahead and removed the delete permission from said group, ...
1
vote
0answers
848 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 ...
2
votes
3answers
59 views

Delete all files added to SharePoint today

I would like to be able to delete all files added today (files could be added to different folders within the document library). The Created and Modified field has the date the file itself was created,...
0
votes
1answer
558 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
113 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
134 views

Deleting SharePoint field causing “Column *** does not exist” exception when loading ListItemAllFields

I have a customized functionality to delete a SharePoint field in my SharePoint online site. I'm deleting the said field from content types, associated lists and finally deleting the site column ...
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
1answer
364 views

How to disable Delete option from Version History Page?

I want to disable the Delete option from the Version History Page. I have already gone through this link, but I do not want to achieve this task by modifying existing permissions. Everyone will have ...
10
votes
10answers
40k 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 ...
1
vote
1answer
55 views

How to delete all versions from the same author in all libraries from the list?

Our company SharePoint site got into a loop of a script which duplicated all the files in the libraries from our list. Now we are stuck with 50+ versions of each files and depleted our 1TB in ...
0
votes
3answers
193 views

Unable to delete Document Library

I am the Sharepoint Administrator, I have full control of the site collection and yet I am unable to delete a Document Library. In the Document Library settings the 'delete document library' text ...
0
votes
1answer
24 views

Pre remove item event

I'm using sharepoint 2013, I want to do someting before I delete item from my list. It's imposable in nintex. How can I catch the event? Thanks
6
votes
3answers
1k views

Disable 'delete item' from SHP list

I need to disable item deletion for "users" in one list, but they need to be able to add new items. Any suggestions?
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). ...
1
vote
1answer
103 views

Deleting large site collection with size 100GB using gradual delete option

we have a SharePoint site collection with size of 100GB. We wanted to delete the site permanently and need to use the same site url. Recommended option is to use gradual delete option in Remove-...
1
vote
1answer
56 views

Designer Workflow: Triggering on Delete?

So I have created a custom task list which has 4 sub lists that are identical. When the business area is selected in one of the choice columns on the list this will then copy the item to the relevant ...
12
votes
3answers
20k views

How to delete O365 Team Sites

Firstly, I apologize if I'm not using correct terminology. I am pretty new to SP. In our case, we're using SP Online. After logging into O365 and clicking on the "SharePoint" main icon, it takes us ...
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. ...
1
vote
0answers
18 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 ...