Who Viewed the Topic
I am experiencing a peculiar behaviour, which is creating a user case problem, in a solution that is utilizing the Data Separation Model and WebDirect. I need to know if this behavior is normal, a bug, or if my implementation is incorrect.
I've got an interface file and a data file. Each file has two Privilege Sets defined (in addition to [Full Access]); call them Floor and Manager. Floor has very restricted access, and Manager has more liberal access (but no where near Full Access).
Scenario 1) I've made a script in the interface file which performs a re-login. A user logs in as Floor privileges via WEBDIRECT. User then performs the script and enters credentials for Manager. The interface file successfully performs the re-login and gains the privileges associated with Manager. However, the data file does NOT change, it does not re-login, and it still exhibits the behaviour of the Floor privileges. I know this is an incorrect implementation. Which brings me to:
Scenario 2) I've made a script in the interface file which collects the account name and password from the user (show custom dialogue), stores them in temporary global fields and as local variables, clears the temporary global fields (keeps the variables), then performs the re-login using those variables (which works). The interface file gains the new privileges as expected. Then, that same interface script calls a re-login script in the data file, passes those login credentials to it, and then performs a re-login there in the data file as well. This works perfectly in FileMaker Pro Advanced, but it does not work in WebDirect. WebDirect still exhibits the same behaviors as described in Scenario 1: interface file does gain the new privileges, but the data file remains unchanged, retaining the original login's privilege set.
Thus, how can I make WebDirect act like FileMaker Pro in regards to getting both parts of data separation model to perform a re-login?
I'm running Filemaker 16 and Filemaker Server 15. In my Webdirect report with subsummaries, there are seemingly random horizontal lines/rules that don't appear in when the report is viewed using the client software. I don't see anything in the layout that would cause this. Any ideas? Below are screenshots. Thank you.
Hello, I'm testing FMS16 WebDirect with a two files solution (an interface file that loads a data file). When the inteface file opens, it doesn't load the data file. My FMS license has a limit of 1 user connection, that seems to be the issue.
Does this means that a two files solution will use two connections per user that opens the solution?