0

My customer would like to move the "Add New Item" to the top of a list. How can I accomplish this without adding significant code to the site?

3
  • Can you specify on which SharePoint Version you are asking for?
    – Hardik
    Commented Apr 14, 2016 at 13:32
  • 2010 Foundation
    – Lena Davie
    Commented Apr 14, 2016 at 13:51
  • Try given answer.
    – Hardik
    Commented Apr 14, 2016 at 13:53

1 Answer 1

2

If you are working in SharePoint 2010 than Unfortunately you can't move the "Add New Item" link to the top of the OOBT list view web part.

An alternative approach is to add a Content Editor Web Part (CEWP) on top of the list view web part with the following HTML source. (assuming the list name = "custom")

<a onclick='NewItem2(event, "/Lists/custom/NewForm.aspx"); return false;' href="javascript://">Add new item</a>

I had given this answer for SP 2010 because in SP 2013 it is already placed above the list.

1
  • This is a good answer, so +1. I've always told my users that Microsoft did this because the ribbon control to add new item was already at the top of the list. If the user clicks in white space in the title of the webpart, the ribbon for the list is displayed and the first icon is the New Item icon.
    – Jammin4CO
    Commented Apr 14, 2016 at 14:32

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.