aholtzapfel Posted December 7, 2015 Posted December 7, 2015 I have a web page that I want to display in a web viewer. It uses an HTML5 Canvas and Javascript to display a map. The page loads fine in a browser but in a webviewer the HTML loads but the referenced javascripts never run. Does anyone know why? or how I can get it to work? link to the page I am trying to load in a webviewer Any insights would be appreciated.
MonkeybreadSoftware Posted December 7, 2015 Posted December 7, 2015 On Windows in the Webviewer? Does this page load well in IE8? Because the embedded browser in FileMaker in normally an older one, not the current one installed.
aholtzapfel Posted December 7, 2015 Author Posted December 7, 2015 That would explain it. (IE8 does not support the HTML5 Canvas Element. HTML5 Support started in IE9.) Thank you. (RANT ... IE8? Really? I can understand using an older browser but IE8? It's 6 years old.... lots and lots have changed since.... :sigh: ... Rant over.)
aholtzapfel Posted December 21, 2015 Author Posted December 21, 2015 OK. Evidently, you can override the IE version that gets used by default. (IE8) The following is a VBS script that will write a couple of registry values. It tells IE to use IE11 (or change ver variable to 9000 for IE9) for filemaker's webviewer. (To use, copy and paste the script below into a text file, save the file with the .vbs extension, open the file.) set WshShell = CreateObject("WScript.Shell") '11000=IE11,9000=IE9 ver = 11000 'FileMaker Pro WshShell.RegWrite ("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BEHAVIORS\FileMaker Pro.exe"),1,"REG_DWORD" WshShell.RegWrite ("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION\FileMaker Pro.exe"),ver,"REG_DWORD" 'FileMaker Pro Advanced WshShell.RegWrite ("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BEHAVIORS\FileMaker Pro Advanced.exe"),1,"REG_DWORD" WshShell.RegWrite ("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION\FileMaker Pro Advanced.exe"),ver,"REG_DWORD" WScript.Quit This script must be run on each user account on the client computer that uses filemaker. If your interested in this issue, it doesn't appear to be new... http://help.filemaker.com/app/answers/detail/a_id/10720/~/webviewer-update-for-filemaker-pro-and-filemaker-pro-advanced-windows-only and if your interested in the valid values for the various IE versions... https://msdn.microsoft.com/en-us/library/ee330730%28v=vs.85%29.aspx (Fyi, you could put this script into a text field in filemaker, use the Export Field Contents script step, and specify the Automatically open file option, making sure you used the .vbs in the path. Filemaker would need restarted before the webviewer was updated.) 1
Newbies bangstudios Posted December 13, 2016 Newbies Posted December 13, 2016 Aholtzapfel, I created an account just to say "thank you!". This was driving me mad; a (rather complex) JavaScript was rendering on my primary (Mac) development system and on FMGo without issue ... but on Windows? Font rendering was awful, mouseover() events wouldn't fire on certain objects ... and the list went on -- a single day before a (Windows-based) demo was due. I never thought FileMaker would be IDIOTIC enough to render using IE8. Rest easy knowing you've saved me from drop-kicking my HP.
Recommended Posts
This topic is 3170 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