Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Web Viewer / Data URL Problem

Featured Replies

I have a weird problem with a solution I am developing that has a web viewer using a DATA URL field and using OpenLayers Javascript. In some occasions I get a blank web viewer as if the the page was not fully processed but sometimes the web viewer displays the data url correctly. I am not sure if it is a cache problem or an encoding issue. Any ideas?

Thank you!

Otto Krauth

  • Author

I have done some more testing and it looks like the problem only appear on the Mac Platform... The viewer responds correctly under the FM Windows platform... not sure what else to do.. :)

Are you using Safari for this?

  • Author

I guess so... can you change the browser engine of the web viewer on mac? If so.. how do you do it? I have Firefox installed in the Mac too.

Edited by Guest

Web viewer will only work with Safari, that is why I asked.

AFAIK, there shouldn't be any difference between the two platforms other than that.

Why not attach a copy of the file.

BTW. Remove any confidential information first.

Lee

  • 1 month later...
  • Author

Sorry it took so long.. Here is a FMP file that illustrates the problem: a blank WEB viewer on the Mac but not if you open it with the PC version of FMP... Also I just upgraded to FMP 11 adv and the problem is worse.. at least on FMP 9 once in a while I was able to get the complete Map. Now in FMP 11 the map never shows up.. there has to be a problem with the Safari engine in FMP Mac (Safari displays the page just fine on its own when you copy the data into a regular HTML file)...

I hope someone can help. Thank you

Otto Krauth

Vancouver, BC

testWV.fp7_2.zip

Edited by Guest

Safari displays the page just fine on its own

Not for me - all I see is an empty rectangle.

  • Author

That is exactly the problem... I also get a blank screen... if you copy the DATA field into an HTML file and open it with Safari it displays fine... the Web viewer is the culprit here.

if you copy the DATA field into an HTML file and open it with Safari it displays fine

That's exactly what I did - and it doesn't work.

Safari v5.0, OS X 10.5.8

Edited by Guest

  • Author

it works for me as an HTML in Safari.. and also from my webserver:

http://form.whistlerforeclosure.com/tt.html

I updated the test file to include the comparison between HTML and DATA URL.

testWV.fp7_2.zip

Edited by Guest

.

Untitled.gif

  • Author

Interesting... this is what you are supposed to get.. I also tried from another machine outside my network to make sure the webserver is working..

SafariScreenSnapz001.png

.

console.gif

  • Author

Do you have Firefox? can you try and see if you also get a blank screen?

  • Author

That's helpful, Thanks... not sure why the resources don't get loaded...but they do on my machine.?!?!? I'll move the resources to another server and see if that works Thanks

Edited by Guest

Do you have Firefox? can you try and see if you also get a blank screen?

Same thing in Firefox.

  • Author

OK.. I am moving everything to another webserver and see if the problem is the current webserver. thanks.

  • Author

The good news is that I fixed the server problem.. However the webviewer on the Mac still doesn't work.. :

If you try the sample file again you can see the problem I am talking about

testWV.fp7_2.zip

Edited by Guest

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.