LaurenKuhlman Posted September 17, 2009 Posted September 17, 2009 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.
LaurenKuhlman Posted October 26, 2009 Author Posted October 26, 2009 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!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now