robert-tailor.co
-
8/8/2012 10:12:35 PM
Get list of uploaded files
I created a directory in CMSDesk to contain PDF files ("/Document/Brochures" in the CMSTree).
I've uploaded a few PDF's to the directory.
I've added a "Documents Data Source" and selected the relevant 'Path' value from the CMS Tree. Everything else is left at the default setting.
I've then added a "Basic repeater" and set the Data source name to the Data Source I added above.
I have set the transformation name to use the built in CMS.File.AttachmentList, and set the control to display on the current Document Type. Everything else is left at the default setting.
The rendered page creates a list of links, but the link name (the FileName) is blank. In other words, this:
<%# Eval("FileName",true) %>
keeps returning blank for all files.
Why?
|