Is there a way that user can browse to the directory where s/he wants to upload a file?
Situation
----------
Im using the import command url (given below) within a DCT, so it's easy to upload a file. But the vpath to upload the file is not dynamic.
What is the best way to give user the freedom to select a folder location to upload the file to?
Solution I'm using to upload a file
------------------------------------------
Theory below will upload a file within "images" directory of the workarea1. But what if I have a few more sub dirs within that folder?
Pasted from a different thread - Search for "Here's an example of TS6 URL Commands: Importing
" to checkout this thread
--------------------------------------
In TeamSite 6.0 please yourself & others by making use of the new URL commands.
Here's an example of how to use the Import Files widget within a Form item's callout (aka DCT) in 6.0:
<item name="Import Files">
<text size="25">
<cgi-callout url="
http://TSserver/iw-cc/import?vpath=/default/main/development/WORKAREA/workarea1/images"
label="Import Files"
window-features="toolbar=no, location=no, directories=no, status=yes,
scrollbars=yes, resizable=yes, menubar=no, width=630, height=450"/>
</text>
</item>
Note the URL command:
http://TSserver/iw-cc/import?vpath=/default/main/development/WORKAREA/workarea1This invokes the standard import files applet used within the TeamSite CC UIs.
Edited by lazybee26 on 07/05/05 01:13 PM (server time).