문제

사용자는 사용자가 라이브러리 내의 문서가 열릴 때 다른 텍스트 필드 또는 날짜 필드를 클릭 할 수있는 방법이 있습니다.내 사용자는 기본보기에서 "name"필드를 표시하지 않으려 고하지 않고 그 경우에는 문서를 선택하고 "문서 편집"을 클릭하지 않고도 열 수 있습니까?

도움이 되었습니까?

해결책

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/

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top