June 21, 200520 yr Hello all, I have a db published using IWP in FMPS 7v03 advanced. I've made a webpage with a link to the database (bypassing the IWP database homepage). When I use the "exit application" function, my database closes and I am brought to the IWL database homepage. How can I force my exit application button to bring me back to my original homepage (can I direct a URL)? Thanks in advance.
June 21, 200520 yr find the file "iwp_home.html" in your filemaker IWP folder. This is your database homepage. Modify the page to simply do a http redirect to whatever homepage you want.
June 21, 200520 yr Author Interesting, but what if I have other databases that I do not want to go to the redirect page?
June 21, 200520 yr Then you'll have to use CWP instead of IWP. I tried to make a iwp_home.html file that contained some javascript which would dynamically redirect a user based on which filemaker database generated the referring page. This worked OK, but it's not a general solution, because it only works with some browsers, not all. The other option is just to replace the page with one telling the user to close the window (or browser) Links to all possible pages could also be placed on this page. Not super-elegant, but it's IWP, so it just needs to be easy, not perfect. Again, you can always use CWP in some form or another instead.... it's just more work to learn and develop.
Create an account or sign in to comment