Solved

SharePoint 2010 Delete a document within a document set library

Posted on 2013-06-04
1
597 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:hbash
1 Comment
 
LVL 29

Accepted Solution

by:
QPR earned 500 total points
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now