Tagged Questions
0
votes
1answer
177 views
Getting Library contents along with Folder structure [Console application using Object Model]
I am developing a console application which will get all the files in a document library and copy it to a particular location on system. I was successful in retrieving all the files within the ...
4
votes
1answer
154 views
how to programetically get the type (TemplateType) of a Library using the item url
Imagine if you have image url which is existing within a site collection in Sitecollectionimages library: testserver/Sitecollectionimages/image.jpg
How can I get the TemplateType (which kind of ...
4
votes
2answers
366 views
Is it possible to have a single document referenced by two different document libraries?
Business Requirements:
My customer wants to be able to associate one document with multiple projects. E.g., a set of specifications for a piece of equipment that will be used in multiple projects. ...
1
vote
1answer
185 views
SPDocumentLibrary.CheckedOutFiles does not return all files
I am working through some code samples on MSDN that is suppose to return Checked Out files but my tests is showing a problem.
Here you can see that both "default" and "foo" in my Page library are ...
2
votes
4answers
268 views
Document Library throws NullReferceException everytime I try to grab an item
This code is from a sequential workflow. I am trying to grab the most recent item in a document library. I check to make sure there are more than zero items in the library, then I try to grab the most ...
5
votes
1answer
2k views
Fastest way for looping through a SPWebCollection
I've developed a console application for looping through all the webs inside my SharePoint 2010 site, but it's kind of slow, until the point that it throws OutOfMemory exception. This is the code I ...