Jump to content

This topic is 7158 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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!

Posted

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.

  • 2 months later...
  • Newbies
Posted

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

  • Newbies
Posted

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?

This topic is 7158 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.