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)
filebrowser.cgi script
amol82
How can we use the filebrowser.cgi script.What parameters do i need to pass to excute this csript.My requirement is to browse files on the job initiation screen.There are a lot of scripts present on the server ,where can i find the reference documents for the same.
Find more posts tagged with
Comments
Migrateduser
I'm not sure there is any but if you
open a TS file browse UI and right-click and hit PROPERTIES, it's pretty intuitive:
file
/iw-cc/command/iw.formspub.browse_for_link?
arguments
vpath
ceiling
hier%5fcallback (javascript function or statement to call upon selection)
show%5fthumbnail (true|false)
filename%5ffilter%5fregex (this is the nicest part of all)
I've had to work with this quite a bit and it's nice because 95% of the work is already done for you! If you need to browse outside of the current branch, however, it requires a bit more work.
Dave
amol82
Thanks for the response,but i m not too sure about the TS browse UI,how can i use it.If a use simple html on the job initalization screen it opens a windows file selection menu.But i want to browse files from the server itself.
so one way i could think of was to use existing cgi's.There are a lot of them located in the iw_bin
Migrateduser
Right, so that's basically what you can do. Inject some HTML into the instantiation screen that will feign the browse button (or, if you'd rather it look differently from a standard browse button, do that). Create an onClick event on that button to spawn a new window which invokes the file browse script, with correct parameters in the query string, etc.
Dave