Jump to content

FMP13 cannot load local file in web viewer


apinrise

This topic is 3099 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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"

Link to comment
Share on other sites

This topic is 3099 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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