none
What's the diff of a field "(linked to item with edit menu)" vs. "(linked to item)"? And how to assure that clicking on a linked item opens it in editing mode?

    Question

  • If to navigate in a browser to a (newly created for the purity of question) Sharepoint (Server 2010) list, the Title column items are usually hyper-linked (i.e. clickable).
    After clicking an item's link, the View of item opened.  

    If to check in Sharepoint Designer 2010 (by clicking on ribbon the "Add/Remove Columns" button of the AllItems.aspx of the corresponding list having chosen on design surface the XsltListViewWebPart), then the field "Title (linked to item with edit menu)". 

    If to remove it and add "Title (linked to item)" instead, I do not observe any difference in opened View upon clicking a link on item in Title column in browser/runtime.

    What's the difference between "Title (linked to item with edit menu)" vs. "Title (linked to item )"?  

    How can I change the behavior so that that clicking on item link would have opened an item in Edit mode?


    Guennadi Vanine -- Геннадий Ванин (Новосибирск). Connecting from Windows XP SP3 (32 bit) to Windows Server 2008 R2 Datacenter (64 bit, Sharepoint 2010, MSSQL 2008R2, IIS 7.5, mounted as VM) over RDP using NLA, TMG 2010 SP1, client certificate

    Tuesday, June 19, 2012 3:58 PM

Answers

  • The difference between linked to item and linked to item with edit menu is subtle:

    • Title (linked to item) creates a hyperlink on the item's title that links to the view page for the item
    • Title (linked to item with edit menu) still contains a the hyperlink to the view page, but you also now receive a drop-down menu when you hover over the item (look to the right of the title, it's a blue box with a black down arrow) that allows you to edit the item's property and perform other advanced actions such as delete, manage permissions, and set alerts

    If you want a link that takes you directly to the edit page, you should add the Edit (link to edit item) column in the view. Note that this places an icon for each item in the column which is probably not quite what you're looking for.


    Jason Warren
    Infrastructure Specialist

    Wednesday, June 20, 2012 12:50 AM

All replies

  • The difference between linked to item and linked to item with edit menu is subtle:

    • Title (linked to item) creates a hyperlink on the item's title that links to the view page for the item
    • Title (linked to item with edit menu) still contains a the hyperlink to the view page, but you also now receive a drop-down menu when you hover over the item (look to the right of the title, it's a blue box with a black down arrow) that allows you to edit the item's property and perform other advanced actions such as delete, manage permissions, and set alerts

    If you want a link that takes you directly to the edit page, you should add the Edit (link to edit item) column in the view. Note that this places an icon for each item in the column which is probably not quite what you're looking for.


    Jason Warren
    Infrastructure Specialist

    Wednesday, June 20, 2012 12:50 AM
  • If you want a link that takes you directly to the edit page, you should add the Edit (link to edit item) column in the view. Note that this places an icon for each item in the column which is probably not quite what you're looking for

    Thanks (I could have checked it myself)
    This means that altogether "(link to edit item)" column one would most probably want to add the column from the same field without any link


    Guennadi Vanine -- Геннадий Ванин (Новосибирск). Connecting from Windows XP SP3 (32 bit) to Windows Server 2008 R2 Datacenter (64 bit, Sharepoint 2010, MSSQL 2008R2, IIS 7.5, mounted as VM) over RDP using NLA, TMG 2010 SP1, client certificate

    Thursday, June 21, 2012 3:45 AM
  • They are right about the other stuff, but you can also change the behavior if you like:
    1. have a list with at least 1 item in it. 
    2. edit view in Sharepoint designer
    3. right click list item, format item as, hyperlink to, edit form.
    4. save changes. 

    If this doesn't work for you (on some collections it doesn't like the changed xls), you can also brute force it by inserting script into the page with a CEWP:

    <script type="text/javascript">

    var links = document.getElementsByTagName("a");
    linkLength = links.length;
    for(var i=0;i<linkLength;i++) {
    links[i].href = links[i].href.replace("PageType=4","PageType=6");
    }
    </script>

    **You must insert the contentEditorWebPart below the list web part**

    • Proposed as answer by nolan.raney Wednesday, July 17, 2013 10:37 PM
    • Edited by nolan.raney Wednesday, July 17, 2013 11:04 PM forgot to mention
    Wednesday, July 17, 2013 10:17 PM