This recipe demonstrates how to display random report file information using random datasource, filesystem datasource and composite datasource.
Steps taken:
- Create a filesystem datasource (ElixirSamples.ds). Enter the following into the “Define Filesystem Datasource > Root” field:${Root##…/samples}Select the “Recurse into subdirectories” checkbox.
- Create a random datasource (Sequence-Number.ds). Enter the following into the “Define Random Datasource > Count” field:${Count##10}Add the following column into this page:Column Name=Seq_Num, Type=Integer, Value=range(1,50)
- Create a composite datasource (Random-Report_ElixirSamples.ds). Add appropriate elements and draw flows as shown in the composite datasource sample.
- The output will show the file name, extension and directory of 10 randomly selected reports.To download the necessary files for this recipe, refer to the attached ZIP file.
Random-Report-Generator.zip