Title
IWP Login Script
Post
Does anyone know how to create a script that runs as soon as a user (Guest in my case) logs in via IWP. I want to create a simple way for users to submit tech requests into my existing database. The problem is when users log in, they immediately go to a layout I do not want them to have access to. What I want to do is create a script that will switch to the appropriate layout, and possibly start a new record. I created this script in FIleMaker, but can't figure out how to activate it automatically (without buttons).
you can use the function get (applicationversion) to check if you are in local client or in iwp.
greetings from germany
chris
and this tells the functions_ref.pdf:
Get(ApplicationVersion)
Purpose
Returns text representing the FileMaker application and version.
Format
Get(ApplicationVersion)
Parameters
None
Data type returned
text
Description
Returns:
•Pro (version) for FileMaker Pro
•ProAdvanced (version) for FileMaker Pro Advanced
•Runtime (version) for FileMaker Runtime
•Web (version) for FileMaker Web Client
•Server (version) for FileMaker Web Server
Note For information on how functions evaluate differently on the host versus the client, search the FileMaker Knowledge Base available at www.filemaker.com/kb.
Examples
Returns Pro 10.0v1 in FileMaker Pro 10.0v1.