How to Create a Downloads Page using CFDIRECTORY page 3

After adding the parameters and clicking OK, the CFDIRECTORY datasource is now available to the page, accessible from the Data Bindings palette.

Next, we add the necessary fields to the second row of the table by placing your cursor in the table row and clicking Insert, or dragging the field to the page and dropping it in the proper location. We want to add the filename, the DateLastModified, and the Size of the file:

Next, we'll select the table row and apply a CF Repeat Region to it. UltraDev users are familiar wtih this process, as it is the same as applying a repeat region to a table containing database columns:

<<< Previous Next >>>