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
10 views

Deleting a document if user clicks Cancel on Document Information Panel SP2013

When uploading a document to a document library, a browse dialog appears followed by another one - the Document Information Panel where you fill in metadata (required or otherwise). I have a request ...
1
vote
2answers
26 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
23 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; ...
0
votes
0answers
28 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 ...
0
votes
1answer
25 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 ...
0
votes
0answers
13 views

SPD Workflow - Handle Deletion/Modification

I'm using SPD to create a holidays approval workflow. I follow this (except for the last part), so please, click to understand my wf since I writing it in French in SPD. To resume, I send a mail, I ...
2
votes
2answers
54 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 ...
1
vote
2answers
275 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
124 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 ...
1
vote
1answer
31 views

Problem Deleting Item from Sharepoint Calender list

I have 2 calender list Name A and B. when i delete items from list A, it should delete item from list B. List A items get deleted successfully but list B items throws SpException. but when i again run ...
0
votes
1answer
24 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
0answers
61 views

Remove quick launch header without affecting children

I have created a new survey in my site. During creation I kept all default settings so it created a link to my survey on the quick launch with a header. I was able to go into the survey settings and ...
0
votes
1answer
38 views

How do I get the edit item menu from a search results page?

One of our departments has a library that contains 150,000 documents, rendering the main library view pretty useless. So I've created a search page for users to find documents, but there's no way to ...
0
votes
2answers
46 views

the folder is restricted from being deleted

i need help for delete some empty folder i've a document library and having some empty folder inside. If i go to managed permission on the folder i can't delete it, i see the group with full control ...
0
votes
2answers
36 views

How to delete dll from webapp/bin

I have a dll which was deployed by wsp to bin directory ...webapp/bin, now i removed the solution and i want to install it again, i cannot because this dll i kind a locked. So i went to delete it ...
1
vote
2answers
296 views

How to prevent site collection admin delete his site collection?

We need to avoid our users, who are "site owners", delete his site collection by mistake. The only method I think of is use Jquery to hide/disable the "Delete this site" button. Do we have other way ...
2
votes
0answers
317 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 ...
1
vote
1answer
44 views

Delete field office for all users SP2013

Is there a way to delete the values of User Profile Property Office for all users via Powershell or CA?
3
votes
1answer
823 views

Cannot delete file: “checked out to -1;#”

I am trying to delete a couple of files from a document library, but SharePoint 2013 tells us that "the file is currently checked out or locked for editing by another user". However, when attempting ...
5
votes
1answer
99 views

Upgrading from SharePoint 2010 to 2013, deleting content database

Why do we delete the content database of a new Web Application while upgrading from SharePoint 2010 to 2013?
0
votes
1answer
38 views

User unintentionally deletes whole web part whenever she tries to delete single word in a text

A certain user can't properly delete parts of text or even just simple words from a content editor web part. Whenever she's editing a page and she selects one word from an entire piece of text inside ...
0
votes
2answers
822 views

cannot activate SharePoint Server Publishing

I would like to change the look of personal website and possibly use the master page I have used in the rest of my sites. So, I tryed to activate "SharePoint Server Publishing" as I did for other ...
0
votes
1answer
49 views

Unable to remove site collection: Operation failed due to an error in Identity Mangement

I've restored a site collection to a different SharePoint farm. Now i am trying to delete the site collection: Using Powershell: Remove-SPSite http://farm/sites/Site_Collection Error: ...
0
votes
1answer
93 views

Delete option grayed out in sharepoint, User has read write permissions

Hi im having an issue with a user who has all required permissions to read/write on sharepoint, but cannot delete pages she has created. when you hover over the delete option i get "this control is ...
0
votes
0answers
35 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 ...
1
vote
1answer
32 views

How to delete a group, of which I am not an owner, in a subsite

I have created a subsite in my site and then the owners group for that subsite. I was a member of that group and I believe the owner was set to the group itself. Then I deleted myself from the group, ...
1
vote
1answer
130 views

How to delete data from AuditData table that does not exist any more?

Our auditData table is growing and growing. I was able to delete some data using the powershell script: foreach ($site in get-spsite -Limit ALL) { $site.Audit.DeleteEntries("05/01/2013") ...
0
votes
1answer
19 views

How to Archive specific row to a new list?

Im newbie in sharepoint, so I would like to ask you for help. I need to delete items with specific conditions and then archive them to a new list. All this because of reduce number of items in ...
1
vote
1answer
328 views

Destroying a field which gives error in Content Enrichment Web Service

I’m writing a Content Enrichment Web Service that is used as an extension to the Content Processing component in my Search Service Application. The web service runs as expected at localhost. I have no ...
3
votes
6answers
2k views

How to run javascript code only when list item gets deleted?

ANSWERED! See bottom of original question for the working answer. I'm trying to find out how I can run a piece of JavaScript code the moment a list item gets deleted. So it should be some sort of ...
4
votes
5answers
4k views

I cant delete or restore a site collection or repair database

When I try to do a restore of a site collection, restore-spsite -Identity https://xx/10014628/ -Path D:\SiteCollectionBackups\10014628.bak -Force -Confirm I get: restore-spsite : ...
0
votes
1answer
125 views

Timer Job cannot delete an item (with error “item does not exist”), but console app can

I have a list based on a calendar in SharePoint 2010 and I periodically run a timer job to archive items to another location, deleting them from the list. Most of the time this works just fine, but ...
1
vote
1answer
86 views

Cannot open Workflows list after deleting a workflow

I deleted a workflow from SharePoint designer and now whenever I try to open the Workflows dialog on a list item it gives me the "An unexpected error has occurred" box. I suspect that this is because ...
0
votes
0answers
132 views

BCS: multiple input parameters for delete operation in ECT possible? How to pass them? SharePoint 2013

I'm currently designing an external content type that should be able to view a list, an item, insert and delete items. The first three work without problems, but I still can't get the delete operation ...
0
votes
1answer
216 views

Prevent folder deletion in document library - Explorer view snafu

We want to prevent users from deleting top level folders in a document library. We created an event receiver on ItemDeleting that checks if the item type is a folder and if the path is the top level, ...
0
votes
1answer
59 views

Delete list records

I need to delete all records in sharepoint list. Is there any way to do this in low time? I tried using powershell but it takes more time. My list may contain more than 50000 records.
1
vote
0answers
787 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 ...
0
votes
2answers
665 views

ItemEventReceiver - ItemDeleting not working with a document library and referencing list

I have a custom list that has a GUID column which refers to the UniqueId of a document in a document library. Every time I upload a document, it should add an entry in this list and populate the ...
0
votes
1answer
55 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?
2
votes
1answer
610 views

Broken Lists Cannot Be Deleted

There are a few lists in a SharePoint Server 2010 development environment that are broken. Due to this situation, clicking the lists in the SharePoint Web interface throw .NET exceptions, and viewing ...
1
vote
0answers
52 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 ...
0
votes
1answer
207 views

Deleting Hidden Columns from Libraries

If I delete a hidden column without going into settings and unhiding it first will there be an issue?
0
votes
4answers
147 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
668 views

REST list item delete does not go to Recycle Bin

I have a SharePoint 2013 autohosted app with a number of lists inside of it. I would like to be able to soft delete a list item using the REST API and have it go to the Recycle Bin instead of being ...
0
votes
1answer
458 views

How to remove specific file types (i.e. docx) from multiple specific Sharepoint libaries?

I am a newbie when it comes to Powershell so I'm asking for help. In Sharepoint 2010 I have several document libraries in a single site collection that all start with the name of 'PT-' and in those ...
0
votes
1answer
303 views

MySite My Content deleted

A SharePoint 2010 My Site application has suddenly deleted all data from the "My Content" area of users' profiles. Does anyone have any experience of this or know what the cause is? There were custom ...
3
votes
1answer
184 views

Get actual item from SPRecycleBin

Similar to this question, I need to permanently delete only specific items from the recycle bin. I need to know more than just their names, however, and SPRecycleBinItem seems to have only have a ...
0
votes
1answer
41 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 ...
1
vote
1answer
294 views

what is delete command for sharepoint menuitemtemplate

MenuTemplate menuTemplate = new MenuTemplate(); menuItem = new MenuItemTemplate("Delete document", "/_layouts/images/delete.gif"); menuItem.ClientOnClickScript = ""; // What should I put ...
2
votes
1answer
51 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 ...