Utilisation d'une colonne autre que "nom" pour ouvrir l'élément dans la liste / la bibliothèque?

sharepoint.stackexchange https://sharepoint.stackexchange.com//questions/92382

Question

Y a-t-il un moyen de laisser les utilisateurs cliquer sur une autre ligne unique de champ de texte ou même un champ de date pour que le document au sein d'une bibliothèque s'ouvre?Mes utilisateurs ne veulent pas avoir le champ "Nom" visible dans la vue par défaut, mais si c'est le cas .. Peut-ils l'ouvrir sans avoir à sélectionner le document et cliquer sur "Modifier le document"?

Était-ce utile?

La solution

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/

Autres conseils

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top