質問

ライブラリ内の文書を開くために、ユーザーに別の単一のテキストフィールドまたは日付フィールドをクリックする方法がありますか?私のユーザーはデフォルトビュー内で「名前」フィールドを表示したくないが、その場合はその場合は開くことができず、「文書の編集」をクリックすることはできませんか。

役に立ちましたか?

解決

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