3

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?

3 Answers 3

2

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.

In custom action, call a Javascript function in which you can get all the items selected by user, see this URL.

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...

5
  • 1
    Just want to add a link to a codeplex project that does something like this, maybe it fit the requirements: sp2010batchedit.codeplex.com Commented Oct 8, 2012 at 5:50
  • Anders, thanks for pointing to the CodePlex project...! Commented Oct 8, 2012 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
    Commented Oct 10, 2012 at 16:46
  • mikey, no problem - Always there to help :) Commented Oct 13, 2012 at 13:39
  • This is ridiculous. You can't edit multiple selected items? Of course not! Why on EARTH would anyone want to do that???
    – Christine
    Commented Oct 28, 2016 at 19:42
2

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

0

I had a list where I needed to edit multiple items and used the following process to get it done; Select the list view from the toolbar ribbon and then select Datasheet view from the submenu items. This will convert your view to an excel like spread sheet. Sort the columns and then sort by the column you want to edit to have the target cells listed sequentially. Change the first cell to the new value and then drag copy that cell down the list to all the others you want to edit.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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