Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
File Browse CGI
Uttara
Hello All,
I am writing a workflow, in which user input is a directory in some workarea. I want to capture this input, through a "Browse" button.
So, user will browse in some workarea, and select a directory, and would start the workflow.
Can anybody direct me on how to achieve this?
Thanks in advance,
_Uttara
Find more posts tagged with
Comments
Adam Stoller
The iw_file form variable within the WFT should contain the name of the pre-selected directory.
If you want to turn this from a pre-selected directory to a pre-selected list of all files within that directory (recommended since most task operations do not really function on directories) - then you can use something like File::Find or TeamSite:
irwalk or roll-your-own processing list. If this is a Submit workflow - you probably only want the list of *modified* files within that directory - in which case using a CLT like iwlistmod with the current workarea and directory path of the selected directory will probably give you the quickest results.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com