Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Web Viewer Won't Reload [Error 5]


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

Recommended Posts

Posted

Hi. I can’t seem to get the Web Viewer to reload after uploading a file.

I am trying to reload a Web Viewer (SuperContainer) and I keep getting Error 5. I named the object “superContainer” and the script step is:

Set Web Viewer [ Object Name: "superContainer"; Action: Reload ]

It just keeps returning Error 5 (Command is Invalid).

The SuperContainer is working just fine and eventually, the item in the Web Viewer does reload but its not instant.

  • 1 month later...
Posted

It was a button. Who knew. You can not reload a web viewer that is assigned to be a button via a script. It seems FileMaker recognizes the button as a separate object and the button "gets" the name. When you call the Web Viewer Reload script step, it tries to call it on the button and that is why I was getting Error 5 (Command is Invalid). That script step can't be called on a button. Remove the button assignment from the web viewer, name the web viewer again and it should work alright.

I hope this helps someone else!

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