[Files] Render FileList as Html

Q100110: [Files] Render FileList as Html

Render list of files as Html.

Parameter In/Out Description Other Info
File source In A list of files to process (usually the 'FileList' output variable from FindFiles).
Only output filename In If selected, only output the base filename. Otherwise it will include the full filepath in the rendered output. Default: true
No files message In If no files are specified, the OutputHtml is an empty string value. Any text specified here will be output if no files were provided in the FileSource.
Output Html Out The HTML output generated by the provided data.

(Italics = required parameters)

Notes

The [Files] List Render Html module will take a list of input files from the File source and will render an HTML output page as a nicely formatted display list. If Only filename is set to true, then only the filename portion of the complete path will be in the output list. If set to false, then the complete path and filename is displayed.

Therefore with the example FileList below provided as the File source input parameter.

[FileGroup]
[D]T:\Temp
[F]T:\Temp\Apple.jpg
[F]T:\Temp\Banana.jpg
[D]T:\Zips
[D]T:\Zips\Animals.zip
[D]T:\Zips\Autos.zip

The the default output should look like the following example when the Only filename parameter is set to true.

Apple.jpg
Banana.jpg
Animals.zip
Autos.zip

Then if that parameter is set to false, then the output should look like the following example.

T:\Temp\Apple.jpg
T:\Temp\Banana.jpg
T:\Zips\Animals.zip
T:\Zips\Autos.zip
 
Last Updated:
10/3/2023 1:07:26 AM
JobServer.NET Knowledgebase © 2025