Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Is there a way to let users click on another single line of text field or even a date field in order for the document within a library to open up? My users don't want to have the "Name" field visible within the default view, but if that's the case.. Can they open it without having to select the document and clicking "edit document" ?

share|improve this question
add comment

2 Answers 2

up vote 2 down vote accepted

Not sure if this works for opening a document, but you want to add a LinkToItem="TRUE" on other column.

<ViewFields>
    <FieldRef Name="SomeField1" LinkToItem="TRUE" />
    <FieldRef Name="SomeField2"/>
    <FieldRef Name="SomeField3"/>
</ViewFields>

This link explains how to do it for a list: http://thechriskent.com/tag/listmenuitem/

you can also add the ECB menu to the column:

<ViewFields>
    <FieldRef Name="SomeField1" ListMenuItem="TRUE" />
    <FieldRef Name="SomeField2"/>
    <FieldRef Name="SomeField3"/>
</ViewFields>

Another SharePoint StackExchange Question/Answer on this: Change Title (linked to item with edit menu) to different column

another reference: http://kamilmka.wordpress.com/2011/04/20/enable-context-menu-in-a-custom-column/

share|improve this answer
    
Great! This helps a lot. Thanks! –  user3299197 Mar 6 at 16:00
add comment

You can modify the current view of the list and check the out of the box column named "Edit (link to edit item)" which will add an icon next to every item in your list, click it and it will open the edit item view for the current item!

enter image description here

And of course you can hide the Title/Name column.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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