April 10, 200520 yr Hi guys, I have several people who use the same data file, but they view the data differently via layouts. Is it possible with IWP to give each user a URL to jump directly to one of their layouts? I could handle it by scripting based on the login account, but a URL would better. If not, any other suggestions? Cheers... Sean!
April 10, 200520 yr Think in Fmp6 you can do that but in Fmp7 not too sure. Well be very useful if i also know what to do it.
April 11, 200520 yr Yow Use this string: http://YOURDOMAIN/fmi/iwp/cgi?-db=YOURDATABASE&-lay=2&-gotolayout= Get the layoutnumber you want to use from the Get functions = Get ( LayoutNumber )
April 12, 200520 yr Another technique can be adding the following to your STARTUP script. If [Get ( UserName ) = "John Doe"] Goto Layout [Johns Layout] Else if [Get ( UserName ) = "Mary Smith"] Goto Layout [Marys Layout] Endif etc.
April 13, 200520 yr Author Use this string: http://YOURDOMAIN/fmi/iwp/cgi?-db=YOURDATABASE&-lay=2&-gotolayout= Get the layoutnumber you want to use from the Get functions = Get ( LayoutNumber ) Does this definitely work? I've tried everything I can think of and it always errors... Cheers, Sean.
June 17, 200520 yr Newbies I've tried using this step as well. I find that the only way to go to my correct layout is to put the layout name into the link instead of the number. For example: www.YOURDOMAIN/fmi/iwp/cgi?-db=YOURDATABASE&-lay=2&-gotolayout=FM%20Database It's worth noting that any address that does not have a "www" tag in front of it (EG: http://mypage.mycompany.com/filemaker) will give the notorious "extra slash" problem. Anyway, the layout I go to, while the correct one, seems to have no functionality other than to look at the data. There is no navigation bar; scripted buttons don't work. It defeats the purpose of going to a specific layout and then navigating from it. -Maynard
June 24, 200520 yr Newbies This may be slightly off topic, but where did you find the syntax to put that scripting in the URL. Like for instance, if you wanted to send login credentials and specific file in a database in the URL?
June 27, 200520 yr I would also like to know if anybody has linked using a URL and added a user name and password so a guest doesn't get the login screen. ta Colin
Create an account or sign in to comment