smishler Posted October 3, 2006 Posted October 3, 2006 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.
xochi Posted October 4, 2006 Posted October 4, 2006 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
Orlando Posted October 5, 2006 Posted October 5, 2006 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
Recommended Posts
This topic is 6893 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 accountSign in
Already have an account? Sign in here.
Sign In Now