October 8, 200520 yr Using IWP on FMSA 7 on a Mac Mini with 1.42 GHZ with FMSA 7, all updates installed, running on OS X 10.4.2. I made a "home" button on my IWP layout, which uses the script "Open URL". When I press the button, the script works, but it always opens a new browser window, but I don't want it to. I want to go to the URL in the SAME browser window. I have tested this on IE on XP and IE on Mac, both do the same. Anyone know how to do that? Is there a better way to have a hyperlink activated from a field? I could use the link to get to the home page, if I knew how to do it. Thank you in advance.
October 10, 200520 yr FileMaker opens URLs in a new window so the user will not stay logged into the database after going to a different site. Of course, the user could just type a URL into the address bar, but users should be warned against doing this...
October 13, 200520 yr Author How can I put a link on a IWP page that takes me back to the /home.html page and make it work so that I can return in the same browser window? Thank you John C. Foster
October 14, 200520 yr I have also been trying to get this to happen, using various forms of _self, but so far to no success. Also tried to close the old IWP window but can't get that to happen in the same script call. There is a way to do it however - use a logout script (Exit Application) which takes you to the IWP Home page, then put a redirect on that page (iwp_home.html) to the URL you want. I want to take users to my own web page of the solution on logout. But by putting a redirect on the iwp_home.html file, it means that file can never be used for other IWP databases. Not very satisfactory. Michael
October 15, 200520 yr Author Thanks for the tip. Sounds like you are trying to do the same thing that I am, for the same reason. I have a custom web publishing home page which allows my users to go to the IWP pages and/or the cwp pages. My problem was having them return to that "home" page from IWP without having the new browser window open. I'll try your suggestion. Thanks again.
October 15, 200520 yr Author Do you know how to get to the IWP home page to edit it? Thanks in advance.
October 15, 200520 yr Do a search for iwp_home.html It is in an obscure place on both Mac and PC. I forget where on the Mac but on PC it is in the FileMaker Server directory of Program Files, but deep down somewhere. Steven Blackwell has a discussion on this in his first update to his book on FileMaker Security. He suggests a script tag or redirect. Script tag goes like this, in the head: Parent.location.href=http://yourpagepath Michael
Create an account or sign in to comment