如何从sharepoint自定义webpart在新窗口中打开附件?

时间:2012-01-20 06:06:30

标签: sharepoint-2010

我在自定义网页部件中启用了附件,如下所示:

<xsl:element name="SharePoint:AttachmentsField">
      <xsl:attribute name="runat">server</xsl:attribute>
      <xsl:attribute name="ListId">
             {} </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>

如何添加target="blank"

0 个答案:

没有答案