Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

I want to use IWP for finding and browsing records. As such, I would like to have IWP use a different layout than my default layout in Filemaker. Since I use Guest to access IWP, I was wondering if Guest could be taken to a specially formatted layout. Thanks.

Posted

Create a script that is run every time the file is opened. (IWP treats a new session as opening the file from scratch). Then, just check for the privelige set name, e.g.


 If Get(PrivilegeSetName) = "xxx"

   goto layout "theIWPLayout"

 else

  goto layout "other layout"

end if

Posted

Another option is to check if the user is accessing the database via IWP.

In the script use the Get ( ApplicationVersion ) function which will return "FileMaker Web Publishing x.x"

I generally have an open script that reads




If [ PatternCount ( Get ( ApplicationVersion ) ; "Web" ) ]

	Go to Layout [ IWP LAYOUT ]

Else

	Go to Layout [ FMP LAYOUT ]

End if



This searches for the word "Web" in the application version and performs the appropriate task based on that.

And this can also be used, as with xochi’s method, in any script to perform different tasks for FMP users and IWP users.

I hope this helps.

Orlando

This topic is 6693 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.