Normally a Sharepoint list links to an item using the “Title” field.
But in some cases you do not want to use the “Title” field, in other words it’s not required in your list.
You can hide the “Title” field first by going to List Settings > Advanced Settings > Content Types > set Allow Management of Content Types to Yes. This will open Content Types under the List Settings.
Then go back to the List Settings > Content Types > click on Title and set it to Hidden.
Now to link the Item to a specific column/field, you need to open the list in SPD and edit the view AllItems.aspx in Advanced Mode, then look for the following tags:
<FieldRef Name="Field1"/>
<FieldRef Name="Field2"/>
<FieldRef Name="Field3"/>
<FieldRef Name="Field4"/>
<FieldRef Name="Field5"/>
Let’s say you want the Item to open when you click on “Field1″. Just add LinkToItem=”TRUE” tag on it:
<FieldRef Name="Field1" LinkToItem="TRUE"/>
<FieldRef Name="Field2"/>
<FieldRef Name="Field3"/>
<FieldRef Name="Field4"/>
<FieldRef Name="Field5"/>
Save it and you’re done.


3 Comments
Hi
I suppose that SPD stands for SharePoint Designer, so where can I find in SPD those tags you mentioned? I opened my list in SPD but all I see is some GUI setting, no code with tags..
Thank you
MB
Hi Michal,
Thanks for your comment. Sorry for not making it clear in my post.
You have to open AllItems.aspx view on SPD and that’s where you can see the tags.
I have updated the post thanks to your comment
Hi Jed:
When I go back to List Settings > Content Types to hide the Title column all I see is “Item”. Nothing else is listed. Any thoughts? Could it be my access privileges?
Thanks!
Ron