Working with multiple library items at the same time
-
Thursday, February 23, 2012 1:38 PM
Hi,
what i need to do is to be able to work with all the documents, that a user has checked in a document library. So a user selects several documents, and starts a workflow(or perhaps clicks a button in a visual web part?). Then I need to grab all the selected documents and merge them together, so I will create a new SP Item, which will be togetger with the other documents then moved to a different folder. So my question is, how can I work on a multiple items, that have been selected?
Thanks for any advice.
Dave
All Replies
-
Friday, February 24, 2012 3:49 AM
You can create a workflow to loop through
http://sharepointsolutions.blogspot.in/2008/05/looping-through-items-in-sharepoint.html
or create a feature to work with multiple items:
MCTS,MCPD Sharepoint 2010. My Blog- http://sharepoint-journey.com
If a post answers your question, please click "Propose As Answer" on that post and "Vote as Helpful
- Edited by Devendra Velegandla Wednesday, February 06, 2013 12:13 AM
-
Friday, February 24, 2012 8:47 AM
Thanks, unfortunately, the first one loops through all items in Designer(I need this to be done programmatically), and the second link is more for SP 2007, where he only adds checkboxes to libraries
Dave
-
Saturday, February 25, 2012 3:51 AM
are you working in MOSS 2007 or SP 2010.?
if you are working in SP 2010. you have n;t mentioned any where?
please post in correct forum :SharePoint 2010 forum if you working with SP 2010 to get better solution to your problem.
by the way the second link
Next post mentioned in the above article
http://weblogs.asp.net/wesleybakker/archive/2009/03/09/downloadaszip-sharepoint-feature-part-ii.aspx
adds the check boxes and feature add the custom action button which will ZIP all the files you selected . according you your requirement you can implement the custom action button mentioned in the above article.
MCTS,MCPD Sharepoint 2010. My Blog- http://devendra-sharepoint.blogspot.in
If a post answers your question, please click "Propose As Answer" on that post and "Vote as Helpful- Edited by Devendra Velegandla Saturday, February 25, 2012 3:53 AM
-
Tuesday, February 28, 2012 8:46 AM
Cheers,
I solved my problem with multiple items following this article:
http://msdn.microsoft.com/en-us/library/gg552606.aspx
Dave
- Marked As Answer by Jack-GaoMicrosoft Contingent Staff, Moderator Sunday, March 04, 2012 6:20 AM

