January 22, 201411 yr I've got a very simple layout that has a WebViewer that points to some Javascript based code. It works and displays fine when viewing with the FileMaker Pro client. The JavaScript does have a link to an external file source, which is hosted on our internal website. When I bring up the same layout with WebDirect, nothing shows up in the viewer. I suspect that it has something to do with the file reference, but I can't prove it. The file source reads like such - <script type="text/javascript" src="http://10.1.225.23/tinymce/tinymce.min.js"></script> (the IP address is an interal address only) So I don't believe I have to change the context? Any ideas on something that I might be missing? Thanks!
February 14, 201411 yr I haven't tried this, but what if the location of this JS is the same as a custom home page for WD? would it then be "relative" to the WD server? Beverly
May 14, 201411 yr I've done a fair bit of work playing with WD and embedded webveiwer objects and JS, I suggest you trap for the error and use an alert to display it. You can see how to here, WD fails silently otherwise. http://www.w3schools.com/js/js_errors.asp cd
July 14, 201411 yr Newbies Hi, Charles, I am currently having the same problem of displaying vebviewer objects on webdirect. I didn't find any solution by searching. Your suggestion looks very smart. I wish I could have a try. however, I am very new on JS. Although I read the link you give, I still cannot make the solution to work. I am wondering if you would be able to post your solution in detail here? Or you could send me by email: [email protected] thank you very much!! Wen
Create an account or sign in to comment