Wednesday, February 22, 2017

Link a column of a list other than the title to DispForm.aspx in SharePoint 2013


I had created a custom SharePoint list through Visual Studio 2013. I had added another column. I need this column to be linked to display form of the item. By default title field is linked to display form.


The solution is simple

  1. Open the Schema.xml of Listimage
  2. Search for your field under <Fields> tag.
  3. Add LinkToItem="TRUE" as a property.



Now you can click on your field and navigate to the display form.

Here is the visual studio solution:

No comments:

Post a Comment