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)
CGI Callout to mimic <browser> functionality
lcarr
Win2K, TS 5.5.2 SP4
I'm looking for a cgi callout program that mimics the DCT <browser> element. In IWOVout-of-the-box functionality, when a user 'browses' to select a file, <browser> returns a filename starting with a "/". I need to modify the return value so it doesn't start with the leading "/". I read in Devnet that there is an example that ships with IWOV, but I can't find it.
Also wondering if changing the paths will have any ill effects on preview in Teamsite. My DCTs allow a user to browse to a media directory and select an image to be displayed on a generated page. If the image path is missing the leading "/", will IWOV correctly resolve references to those images during preview?
Thanks.
Find more posts tagged with
Comments
Migrateduser
Some of the info here might help you - you could use the default browser and have the FormAPI callout muddle the path. But your previews may not work (at least without some proxy configuration) - previews are really temporary files (generally in templatedata/iw_preview) and since relative paths from there won't resolve, preview won't be able to resolve images.
http://devnet.interwoven.com/forums/cgi-bin/showflat.pl?Cat=&Board=PRODUCTS_TEMPLATING&Number=24242&page=&view=&sb=&o=&vc=1