Problem
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.
Solution
The solution is simple
- Open the Schema.xml of List
- Search for your field under <Fields> tag.
- Add LinkToItem="TRUE" as a property.
Conclusion
Now you can click on your field and navigate to the display form.
Here is the visual studio solution:
https://drive.google.com/file/d/0ByEnOE8DAdvhdV80Y3ZCQzh0TkE/view?usp=sharing
No comments:
Post a Comment