gstaylor-sfopera
-
11/9/2010 5:18:32 PM
Document Attachments
I cannot seem to get attachments to display at all in the default transformation of a document type.
I have the webpart for document attachments defined at the top of the transformation;
<%@ Register Src="/CMSWebParts/Viewers/Documents/attachments.ascx" TagName="ReleaseList" TagPrefix="uc1" %>
Then I have the following tag entered a bit further in the same transformation;
<uc1:ReleaseList runat="server" ID="PressDocsList" ShowForDocumentTypes="custom.sfopressrelease" TransformationName="CMS.Root.Attachment" SelectedItemTransformationName="CMS.Root.Attachment" EnableViewState="false" Path='<%# Eval("NodeAliasPath") %>' AttachmentGroupGUID="ReleaseAttachments" />
The AttachmentGroupGUID property is set to the field name I've created for the document type form to allow the addition of attachments for the document type. When the default transformation is processed, the display only shows "No data found".
What am I doing wrong?
|