enter image description hereI have a person or Group field called ContactName but I can't get it to display "Name"(FirstName and LastName).

The Group column and modified columns works perfectly but not the person or group field. I'm sure i'm missing something. Is my OuterTemplate correct?

<xsl:variable name="ContactName">
           <xsl:call-template name="OuterTemplate.GetTitle">
       <xsl:value-of select="@Contact_x0020_Name.title"></xsl:value-of>


     <xsl:variable name="modified">
     <xsl:value-of select="ddwrt:FormatDate(string(@Modified), 3081, 3)" />      


        <div class="item link-item">
        <xsl:call-template name="OuterTemplate.CallPresenceStatusIconTemplate"/>
        <a href="{$SafeLinkUrl}" title="{@LinkToolTip}">
          <xsl:if test="$ItemsHaveStreams = 'True'">
            <xsl:attribute name="onclick">
              <xsl:value-of select="@OnClickForWebRendering"/>
          <xsl:if test="$ItemsHaveStreams != 'True' and @OpenInNewWindow = 'True'">
            <xsl:attribute name="onclick">
              <xsl:value-of disable-output-escaping="yes" select="$OnClickTargetAttribute"/>
          <xsl:value-of select="$DisplayTitle"/>

         <b>Last Modified @  <xsl:value-of select="$Group"/> Person @  <xsl:value-of select="$ContactName"/>
           Time @ <xsl:value-of select="$modified"/>


  • Anyone have an idea what could.be wrong? – naijacoder Jun 6 '18 at 22:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.