Using SharePoint 2010, I need to hide the ribbon on a dispform (which I know how to do) but want to make an Edit Item button available in a webpart to a certain audience. So far all I have been able to find is that I can hyperlink the URL with .../editform.aspx?ID={@ID} but that does not work. It opens the edit form, but not for that specific ID.

I also tried to hyperlink the URL with .../editform.aspx?ID={$Rows/@ID} and that did not work.

  • Are you looking for a button for each item? – Kaylee Chatham Nov 20 '15 at 19:24
  • I want to apply it to the display form. Then when clicked, it would open that item's edit form. – Jackie Nov 20 '15 at 19:39
  • Do you have access to SharePoint Designer? If so, you could create a workflow that runs on creation of an item. Have it populate a multiple lines of text field with the URL, and you can insert current item ID. Another option would be a calculated column, using the Concatenate function. – Kaylee Chatham Nov 20 '15 at 19:43
  • I would like to avoid using workflows. I believe there is a way to capture the ID and doing it programmatically. – Jackie Nov 20 '15 at 19:48
  • Have you tried using a calculated column? – Kaylee Chatham Nov 20 '15 at 19:49
  • Add a Calculated Column displaying an edit link; with the same technique as used in the Delete Button in http://www.viewmaster365.com/#/Create/ActionDelete
  • Put a ListView Webpart (use the good old add &toolpaneview=2 to the url trick) on the DisplayForm

    • Display only the Calculated Column

    • Target the webpart to the correct audience


Not so much sure about target audience you have to check it out. But if your problem exist then you can try creating new page with DataViewWebPart that will display items as per your current DisplayForm and in DVWP there are options to EDIT and DELETE items.

just a work around you have to give a try.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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