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.

FMP13 cannot load local file in web viewer

Featured Replies

Running Filemaker Pro 13 on Mac OS X 10.10.5

I found some earlier posts on this issue, and many suggest to open the file in Safari and copy the location URL, but that isn't working for me.

I keep getting "The requested URL was not found on this server." error in the Web Viewer field.

Seems like this should be a fairly straightforward use case right?

 

Alternatively, if someone knows how to allow an image to scale to fit horizontally in a container to allow for vertical scrolling, that's what I'm trying to do with the web viewer.

 

Thanks,

Ryan

An example file illustrating the problem would help.

Looks like turning off "automatically encode URL" fixes it.

 

WVPic.zip

Edited by BruceR

  • Author

Apparently turning off 'automatically encode URL' was the issue! An hour of googling and a simple checkbox resolves the problem. Thank you!

Now, any idea of how to adjust the size? The tutorials i've found provide solutions for remote URLs, but I can't get them to work with the Local files.

Alternatively, if someone knows how to allow an image to scale to fit horizontally in a container to allow for vertical scrolling, that's what I'm trying to do with the web viewer.

That could be made by:

1) giving a name to the Web Viewer ( I give it "wv" )
2) putting this code into the calculation for the WV:

"data:text/html,
<html>
<style>
body {border:0px;margin-top:0px;margin-left:0px;}
</style>
<body>
<img src='
" & YourTable::TheURLField & "
' width='
" & GetLayoutObjectAttribute ( "Wv" ; "width") - 17 & "
'/>
</body>
</html>"

Note that:
1) the number 17 in the calc works for my windows system and must be suited so that the horizontal bar hides.
2) on my pc I do not need to uncheck the box: "Automatically encode URL"

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.