Workflow Soluiton

 View Only
  • 1.  Read All Files from directory

    Posted Aug 02, 2011 01:41 PM

    Is there a way to read all files in a directory so that they can then be displayed in workflow form with something like the download list component?  There could be 1 or more files.



  • 2.  RE: Read All Files from directory

    Posted Aug 02, 2011 04:07 PM

    There's a List Files in Directory component... you could use that to poulate a listview or something similar



  • 3.  RE: Read All Files from directory

    Posted Aug 02, 2011 07:41 PM

    Thanks reccardo,

    This gave me enough info to figure out what I had to do.  Since I could not just display them and had to make it so that the files could be open from workflow (download list component) I add a few extra steps.

    1. Created a File Data type array.

    2. Use the list file in directory component.

    3. Did a for each item for the output of list file in directory.

    4. Read in each file (read file component).

    5. Used the output of read file to insert into my array.

    6. Displayed the array using the download list component.