Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a list that contains many items. I'd like to give my users the ability to select 10-20 items by "checking" them and then edit them all at once. Certain fields (item name, id, etc.) are item-specific and should not be edited, but other field values can be specified in bulk.

If I check one item, the "Edit Item" button is active, but as soon as I select 2 items, it is disabled. How can I add this feature to my application?

share|improve this question
add comment

2 Answers 2

up vote 2 down vote accepted

mikey,

This is not available OOB...

What you can do is create a new Custom Action that will add a button to the ribbon right after the Edit button, follow this on making custom action: http://msdn.microsoft.com/en-us/library/hh500259.aspx

In custom action, call a Javascript function in which you can get all the items selected by user, see this URL: http://www.learningsharepoint.com/forum/sharepoint-2010-programming/get-selected-items-in-a-list-sharepoint-2010/

and then redirect the user to a web part page or open Modal pop up dialog [sending selected items as query string with separator] with the web part page, inside the web part page drop a Visual Web Part and you need to code the Visual Web Part as well...

Inside the Visual Web Part you can update all the selected items with the Title and other fields given by user :)

I hope this helps, a lot of coding and customization involved...

share|improve this answer
    
Just want to add a link to a codeplex project that does something like this, maybe it fit the requirements: sp2010batchedit.codeplex.com –  Anders Aune Oct 8 '12 at 5:50
    
Anders, thanks for pointing to the CodePlex project...! –  Arsalan Adam Khatri Oct 8 '12 at 12:11
    
Thank you Arsalan, I'm comfortable with the custom coding. I've done each component of this for other things so I will put them together as you've described. Thanks again ;) –  mikey Oct 10 '12 at 16:46
    
mikey, no problem - Always there to help :) –  Arsalan Adam Khatri Oct 13 '12 at 13:39
add comment

XsltListViewWebPart supports inline editing: check the Allow Inline Editing checkbox on the Edit View page. Maybe it will help you.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.