kentico_jurajo
-
6/20/2012 10:21:00 AM
RE:Newsletter Archive
Hi,
the easiest way right now would be to use query datasource or query repeater. Then, in the query you will need to get the file GUID using custom query. The file is stored in CMS_MetaFile table. So, in you query you need to use e.g. MetaFileObjectID=IssueID, MetaFileObjectType=“newsletter.issue“, MetaFileGroupName=“Issue“, MetaFileSiteID=siteID to return the MetaFileGUID.
Then, using the GUID in the transformation you can compose the link to it: ~/CMSPages/GetMetaFile.aspx?fileguid=<%MetaFileGUID%>‘.
Best regards, Juraj Ondrus
|