Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

  • Newbies
Posted

I am looking for a way to add a button to a form to browse for a file to show in the webviewer and automatically add the address location?

Posted

Unfortunately FileMaker has not given us a plain "choose file" script step, which would do nothing with the file, just let us choose it. Maybe that seems odd from FileMaker's point of view. But it would often be useful for developers. Most other "scripting" environments have it.

But what you could easily do is use Insert File, [x] As reference only, into a container field. That would get you the full FileMaker syntax file path, as the last value of GetAsText ( container ).

You'd then need to convert that path with a calculation into one that would work with Web Viewer. Open a file with your web browser to see what that would look like, then tweak to match. Remember to make it URL syntax, ie., %20 for spaces, etc..

This topic is 6443 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.