1

I have a SharePoint list and in that there is a Title field. By default when we click on title it opens DisplayForm.aspx. Insted of this I want to open EditForm.aspx using Powershell Script or any other way using SPD.

Thanks.

  • You will have a field Title(linked to item in edit menu) in list of fields that appears in modify view page. – Sharanya Apr 5 '16 at 11:40
  • I have tried but still its opening in View mode only and I have SP 2013 – DRS Apr 5 '16 at 12:01
  • 1
    Please check the below link. jQuery to achieve the same. social.technet.microsoft.com/Forums/sharepoint/en-US/… – Sharanya Apr 5 '16 at 12:03
  • @User2809 's suggestion should work...I tried implementing same and it worked wonders for me.... – Ankitkumar Malde Apr 5 '16 at 12:26
  • 1
    You can add the Edit icon in the view and not change the standard. Is very usable. – Juan Pablo Pussacq Laborde Apr 5 '16 at 12:48
1

The correct and recommended way would be to use the Client Side Rendering feature of SharePoint 2013. You can refer to Item Link example here for achieving this.
Client Side rendering is powerful alternative to XSLT modifications and is wonderfully explained by Andrei Markeev in the article linked above.

  • Thanks. It works fine for single view. Also i have tried to put that code in master page for all views. But somehow its not working. – DRS Apr 5 '16 at 13:55
0

you can create a new data view page in SharePoint designer and edit the link inside it to refer to edit form instead of display form,

  • Is there any way to maintain the functionality of the ribbon and item dropdown in a custom dataview? – Erin L Apr 5 '16 at 13:00
0

This is an older question, but one that I was recently researching and came up with a SPD Workflow solution to my problem.

  1. Create a hyperlink Column in the List (field)
  2. Right-click on the "edit" button and copy shortcut, paste to notepad

  3. Remove the number following "ID=" at the end of the URL

  4. Create a new workflow and set to Start automatically when an item is created
  5. Create a Local Variable (V1)

Then add these two lines to your workflow

  • Set Variable: V1 to https://'site'/listform.aspx?PageType=6&ListId={blahblahblah}&ID=[%Current Item:ID%], [%Current Item:Title%]
  • then Set Field to Variable: V1

Now remove the original Title column with the hyperlink Field column on your list views and it will show up as a link to the edit menu for each of the entries on the list.

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.