Showing posts with label document list link. Show all posts
Showing posts with label document list link. Show all posts

Monday, November 28, 2011

Adding a title link to an item in a document list


To add a title link in a document list, do the following:
  1. In the Program Files\Common Files\Microsoft Shared\web server extensions\50\Templates\1033\xml directory, open ONET.XML.
  2. Find the BaseTypes section and, within this section, find the BaseType element where the Type attribute is set to 1.
  3. In the Fields section within the MetaData element for this base type, add the following entry:
    <Field ReadOnly="TRUE" Type="Computed" Name="LinkedToTitle"
      DisplayName="Document Title" DisplayNameSrcField="Title"
      AuthoringInfo="(linked to document)">
      <FieldRefs>
        <FieldRef Name="Title"/>
        <FieldRef Name="FileRef"/>
      </FieldRefs>
      <DisplayPattern>
    
    

Featured Posts

Kali Linux Remote Desktop: Access GNOME from Windows Using Native RDP

  Kali Linux + GNOME 50 + GNOME Remote Desktop + Windows Remote Desktop (MSTSC) Getting a full GNOME desktop remotely on Kali Linux can be ...