Product and version:-
FileMaker Pro 14.0.6, 188.8.131.520 and 184.108.40.2062
OS and version:-
Windows 10 Enterprise ver 1607 64 bit
Browser and version:-
FileMaker Web viewer
Intel PC 2.50GHz 4GB ram
A self referencing script called from a web viewer using the FileMaker fmp protocol fails if the file is running a script which is in a Paused state.
How to replicate:-
Call a FileMaker script which creates a popup in a new Document Window to display a web viewer layout. Pause the running script using Pause/Resume Script [ Indefinitely ]
Populate the web viewer with an html file containing an fmp url with a self referencing link to call a script in the same file. Similar to ... <a href="FMP://$/MYdb?script=MyWVScript¶m=hello&$seatid=12345678">Call Script</a>
On Windows, when clicking on the link the script will fail. On OS X the script will run as expected.
Workaround (if any)
Exit script as opposed to Pause script before running fmp url triggered scripts. In many cases this creates much work than would otherwise be necessary making many potential solutions based on the fmp url impractical.