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)
Customising preview functionality
beasleym
We are trying costomise the preview function in Templating to open an ASP page instead of the generated XML page. Can this be acheived using an iwproxy_preconnect_remap? has anyone else had any experience of this?
thanks for your time
Mat.
Find more posts tagged with
Comments
Migrateduser
Just to make sure I understand, are you saying that you want the TeamSite Templating preview to call another page instead of actual rendering anything from the DCR + TPL?
If this is the case, you can basically have a TPL that does nothing more than redirect to a web page. You can just have an <iw_perl> tag in your TPL that performs whatever logic you need to figure out the target page, and then call that page.
One the other hand, if you are talking about TeamSite virtualization, and you want to redirect XML pages to ASP pages, you could use the proxy preconnect. You could say something like:
_regex(.*)\.xml=$1\.asp
This example (should) remap .xml files to .asp files of the exact same path and basename.
Edited by john_narbaitz on 09/26/02 04:03 PM (server time).
beasleym
thanks for the reply, i was hoping i could do something similar the the proxy preconnect solution for preview too. Do none of the proxy sections of iw.cfg get checked when a preview page is displayed?