Jump to content
TJ53

WV (JavaScript) doesn't work in all machines

Recommended Posts

I´m not sure why but the WV shows the correct result in some computers and devices, but in other just shows an empty page (please see attached file with WV including code).

This is the result after testings:

- It doesn't work on my Mac (10.11.06)

- It works on my iPhone

- It works on my iPad

- I works on one of my colleague´s Mac (10.12 I believe)

- It doesn't work on another collegue's Windows

 

I have attached the file with the wv, is this working for you? any clue why this is happening? any help would be very much appreciated!!

 

WV_Table.fmp12

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • By Franco Pagano
      When you have a webviewer in a layout as you change layout the webviewer reset it self, on mac activity app you can see the  webviewer process disappear.
      If the webviewer is in a popup  if you close the popup the process remain still up, you have to change layout if you want to close the webviewer process.
    • By Jake Thomann
      For anyone interested in an npm package that communicates with Filemaker's data API, I am currently developing here - https://github.com/thomann061/fmrest
    • By DeathRobot
      Hello. I'm using a web viewer to control and stream mp3s from our server. This works great on my Apple laptop - the mp3 loads along with a player and I can listen to and control playback. It also works fine on one of two Apple desktop machines. But on one Apple desktop machine the file downloads to the desktop instead of loading in the web viewer. I've checked my browsers, both my default browser (Chrome) and the standard web browser (Safari), and the URLs play in the browser in both cases. Neither one downloads the track. Is there a way to control this behavior within FM so that the mp3 plays within the web viewer and doesn't download?
      Note: The URL for the mp3s are in the format "www.url.com/assets/mp3/filename.mp3". I am loading the web viewer by using the Set Web Viewer script step and just that URL; I am not adding any additional html formatting. The only checkboxes set for the web viewer are "Allow interaction…" and "Automatically encode…"
      Thanks.
    • By BruceB
      I am trying to display an image (from disk) in a web viewer.
      The following is the calculation entered into the web viewer (by means of a calculation):
       
      data:text/html, <body> <p>Hello</p> <div> <img src="Maths_AS/Questions/q1.png" style="width: 700px"> </div> <p>Good-bye</p> </body> The text displays, but the img tag just produces a small box with an X.
      When I use the following in a simple html file and display it using a browser (Firefox, Chrome), it displays correctly. In both cases the file references are relative; both the FMP file and the html file are stored in the same directory, from where the image is referenced.
      <html> <head> </head> <body> <p>Hello</p> <div><img src="Maths_AS/Questions/q1.png" style="width: 700px"></div> <p>Good-bye</p> </body> </html> I am using Windows 10 Professional with FMP Advanced v.11.
      I would be most grateful for some help here!
      Thanks in advance
      Bruce
       
    • By AlesD
      Hi I can not fiddle out how to make it work. I have tried several browsers with same result. We are using FM 12 server. I tried this file paths
      file:///C:/file.jpg
      C:/file.jpg
      file://localhost/C:/file.jpg
      and few others
       
      I'm using this code in the Web Viewer which is working fine in FM client but not in browser
      "data:text/html, <html> <head> <style type=text/css> " & table::style & " </style> </head> <body> <div class='thumb'> <span class='helper'></span><img class='thumb' src='" & table::ThumbnailPath & "'> </div> </body> </html>"  
      If it's caused by fact image is not present in web site folder as stated in document then my question is if it possible use unc network path in filename like file://///other_than_fmserver/networkpath/file.jpg. I wasn't successful either. 
      Any help appreciated
       
      Thank you
×

Important Information

By using this site, you agree to our Terms of Use.