These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

FIleVista in an Iframe

Hi, i'm trialing your FileVista product and so far am very impressed.

Our intention is to run the product on a private web server, but we want to put a wrapper around it to allow us to give additional information to the users.
To do this i have embeded FileVista in a iFrame on a basic html page.

But when i set the html page to the default for the site FileVista picks it up instead of the main FileVista page (default.aspx).
This seems to indicat that FileVista is picking up the default page configuration from the web site config rather than being hard coded to go back to default.aspx on a iframe refresh.

Is there a way round this?

thanks
neil 8/11/2008 8:14 AM
Yes, FileVista redirects to the site root so you should not set the html page to the default for the site, then you can access your wrapper page by site/wrapper.html.
Cem Alacayir 9/1/2008 12:56 PM
Thanks for getting back to me, what you have suggested is how we are currently accessing the website, however the disadvantage is that if a user enters the url without the wapper.html they get presented with the main filevista page. We would like to prevent this, any ideas?

Neil
neil 9/1/2008 11:31 PM
this sounds as if you could better use "FileVistaControl" as you can put the system anywhere in your aspx code... if I did understand that correctly.
Chris Adelt 9/5/2008 4:35 AM
You can solve the problem by modifying some files. Search for string "./". For, example in scripts/login.js, there is this line

window.location.href = "./";

change it to

window.location.href = "wrapper.html";

This will solve the redirect issue after login. There are similar lines in both scripts/administration.js and usersettings.aspx which again redirect to root after logout and saving settings respectively. You may want to change them too.
Cem Alacayir 11/4/2008 2:58 PM