Home
TeamSite
Preview in teamsite
maverick83
hi
i am facing some issue regarding "Preview" Concept in teamsite 6.7.1 on windows,i serached the forums and found the follwing text written for reply
to an earlier query :-
[php]
Preview (in the context of TeamSite) means "the contents of a web page rendered by the "customer web server" designated in the iw.cfg file.
This can be either a static HTML / ASP / etc. page being rendered by the "customer web server" or the contents of a DCR that was processed by a PT
stored into a file within the TS VFS and then opened in a browser window associated with the "customer web server".
[/php]
this really helped a lot but i have below given doubt :-
(a) is preview "technically" same when we click on an ASPX page after generation and when we click on "Preview" button beofe it is generated
,i think there is some difference here but i am not able to pin point where exactly such configuration is done becasue i am able to correctly
preview the ASPX pages after they have been generated but when i click on "Preview" Button on form it shows a blank page
i guess following sections in iw.cfg are linked to this issue but can experts here pls guide where exactly is the missing link for the issue
described above(blank pages after clicking "Preview" Button)
[php]
[iwwebd]
default_protocol=http
http_port=80
https_port=443
host=x
[iwproxy]
iwproxy_host=localhost
customer_webserver_host=x ### aspx page rendering done by this server
iwproxy_port=1080
customer_webserver_port=81 ### aspx page rendering done at this server port
[/php]
Looking forward for some guidance from experts
regards.
mav
Find more posts tagged with
Comments
azhagi
Hi mav,
You cant preview asp/jsp pages directly in teamsite server as they are dynamic pages. You can only preview static pages.
In your case you can do following thing.
while generating page from DCR you generate two file one with .aspx and another one with .aspx.html.
After that Edit [iwproxy_preconnect_remap] section in iw.cfg file
_regex=(.*)/html/(.*?\.aspx)=$1/html/$2.html
So when you click .aspx page preview next time it will automatically redirect to .aspx.html file and you can view the page.
P.S : Interwoven Server will not parse special tags(asp/jsp tag library parsing).So you cant get the dynamic content in your page.
Thanks
Sugan
maverick83
thanks a lot ,it is a useful piece pf infomation
regards,
Mav