SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a display form for a list in Sharepoint 2010. I've added a second list which is related and added a section to my form using "Related Item View" in Sharepoint Designer.

Since the related item includes a date and a selection I have no need of the default "title" column which I have hidden and want to remove from the form too.

At the moment I have:

          <FieldRef Name="LinkTitle"/>
          <FieldRef Name="Date"/>
          <FieldRef Name="Action"/>

The problem is that it is the title which has the link (I guess as "linktitle" that makes sense) which allows the user to select/open/edit. Is there a way to make another column the "clickable" link, or do I have to write my own javascript to handle this?

share|improve this question
up vote 5 down vote accepted

You can specify needed field in your conten type like this:

    <Field ID="xxxx" Type="xxxx"
        DisplayName ="xxxx"
share|improve this answer
Thanks! The change I made was just to give: <FieldRef Name="Action" LinkToItem="True"/> and that seemed to work. – Dave Alger Feb 15 '12 at 12:16
@DaveAlger Can you elaborate where do you put this code? I am a totally new to sharepoint and need to accomplish the same thing. – user5013 Aug 24 '15 at 15:13
I'm afraid this is long enough ago that my memory is a little fuzzy and I don't have access to the Sharepoint development tools any more. I'd suggest writing a new question and I'm sure some experts will be able to help. – Dave Alger Aug 25 '15 at 20:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.