Solved

SharePoint 2010 Delete a document within a document set library

Posted on 2013-06-04
1
653 Views
Last Modified: 2013-06-28
As the title says,  I am looking for a snippet demonstrating how to delete a document from a document set library using a known column parent id value stored with the document's metadata.

There could be zero to N files with the id value.  Preferably I am looking for a C# linq solution.
0
Comment
Question by:Howard Bash
1 Comment
 
LVL 29

Accepted Solution

by:
QPR earned 500 total points
ID: 39240055
This may get you on the right track

http://code.msdn.microsoft.com/office/SharePoint-2010-Managing-17ac7fa0/view/SourceCode#content

On the browse code tab, use the solution explorer on the left to drill down to layouts/managedocumentset.aspx.cs
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
asp web application 3 35
sql query help 15 50
query error in former passthrough query 2 31
SQL Syntax 6 36
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
This article describes how to use the timestamp of existing data in a database to allow Tableau to calculate the prior work day instead of relying on case statements or if statements to calculate the days of the week.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question