How do I show single/multiple attachments from a XsltListViewWebPart of a list?
-
16-10-2019 - |
Question
SharePoint 2007, trying to display attachments via an XsltListViewWebPart. Doesn't seem clear on how to accomplish this via designer.
Solution
Doh. Found the answer I was looking for on this site.
Basically:
<SharePoint:AttachmentsField ControlMode="Display" ItemId="{@ID}" EnableViewState="true" FieldName="Attachments" runat="server"/>
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange