Pregunta

¿Hay una manera de permitir que los usuarios haga clic en otra línea de campo de texto o incluso un campo de fecha para que el documento dentro de una biblioteca se abra?Mis usuarios no quieren tener el campo "Nombre" visible dentro de la vista predeterminada, pero si ese es el caso. ¿Pueden abrirlo sin tener que seleccionar el documento y hacer clic en "Editar documento"?

¿Fue útil?

Solución

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/

Otros consejos

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.

Licenciado bajo: CC-BY-SA con atribución
scroll top