I have a file setup to push records to a Hosted FileMaker server. Everything works normally but after clicking the "OK" on the "All Done" dialog box the "Close Connections Server" scripts run and my mobile file ends on the "New File Prep" layout.
The issue occurs when uploading records from FMPro. Does not happen on FMGo
What is the best way to get the script to return to layout the user started on?
I'm using GoZync1.3.8 on FM11
Push to Host ends on wrong layout
8 posts
• Page 1 of 1
Posts: 36
Joined: Tue Mar 28, 2006 8:41 pm Location: Pittsburgh |
|
Hi,
We're calling the Go to Layout [original layout] script step there at the end of our "Upload All Invoices To Server" script: and that should work on Pro as well as Go. Is that what you have? Thanks! -Jason |
|
Posts: 36
Joined: Tue Mar 28, 2006 8:41 pm Location: Pittsburgh |
I did some more troubleshooting. Looks like something goofy with an "AutoResize Window" Script I have running on Layout entry. When the GoZync "Push to Server" script ends it's on the correct layout but then the "AutoResize Window" Script runs and instead of resizing the window it changes the layout. It's kind of odd because the script is just a one line script with an autoresize window step.
|
Hmmm? Not sure, wondering if this is putting the wrong window into focus somehow? but that's all I can think of.
Thanks for following up! |
|
Posts: 36
Joined: Tue Mar 28, 2006 8:41 pm Location: Pittsburgh |
I've done some more digging on this. The problem seems to be occurring in "Close Connections to Served Files Helper" script.
Toward the end of the script it Exports a .fpsl file and then re-opens that file. If I disable the "Export - Automatically Open" script step then the database returns to the original layout and stays there. When the script step is active it changes to the "New File Prep" layout.
|
Posts: 36
Joined: Tue Mar 28, 2006 8:41 pm Location: Pittsburgh |
I've just turned off that set of script steps in the Script. The process seems to work normally. Any reason that having those steps off would create a problem? They only activate in FileMaker the script skips them in FMGo.
|
Hey,
Sorry for the delay, I need to check with John on this, but I don't think that will hurt anything short term, but I'll have a better answer soon. Thanks! |
|
Hi,
John believes the issue is in the script "ReOpen" in which you should just hard code then layout you'd like to land on. Let me know if that helps. -Jason |
|
8 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 4 guests