0

I have the following code.

   <xsl:element name="SharePoint:AttachmentsField">
      <xsl:attribute name="runat">server</xsl:attribute>
       <xsl:attribute name="FieldName">Attachments</xsl:attribute>
      <xsl:attribute name="ControlMode">Display</xsl:attribute>
      <xsl:attribute name="Visible">true</xsl:attribute>
      <xsl:attribute name="ItemId">
        <xsl:value-of select="@ID"/>
      </xsl:attribute>
    </xsl:element>

I'm using this in an XSL Link list in Sharepoint 2013. It works and displays the file name of the attachment in my list. All I want to do is change whats displayed from filename to something else like Title or a generic "Download Here" message.

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.