Opening script with layout re-direct not working properly in IWP
I'd appreciate some help on an issue. I have an opening script which has a statement in it :
Get (AccountPrivilegeSetName) = "Something"
Go to layout 1, perform find etc....
Else, go to layout 2.
This works just fine connecting via Filemaker Pro, ie logging in with the Privilege Set "Something", I get redirected to layout 1, but when I connect with the same username and password in IWP, it doesn't seem to recognise the privilege set and I end up on layout 2.
I don't have "run script with full access privileges" selected, so this isn't wreaking havoc with the privilege set.
By the way, as a test, I also set up another statement in the script:
Else if PatternCount (Get(ApplicationVersion) ; "web") > 0) go to layout 1, perform find etc...
While this is not the solution I want, as I have other users that need to access the database via IWP but not be routed in this manner, it was interesting to note that this ALSO didn't work.