Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unexpected behavior on FM Server

Featured Replies

I have a solution running on server 8 that has an a startup script that takes me to a layout with no fields on it (a splash screen) then it performs a find and then jumps to another layout on the same table. Sometimes though, when I open the solution, the first screen displayed is a layout from another table that has a summary field on it and the users have to wait while FM does the summarization, then it performs the opening script. The two tables are related to each other. Why is it jumping to this table and layout first before the opening script is run?

For the moment with only a couple of thousand records it is not that annoying, but later when there are hundreds of thousands of records it will become quite painful waiting for FM to complete this summarization. I just want mention that this does not happen all the time.

I thank you in advance for any answers you might have.

Edited by Guest

because the last screen that was viewed before it was hosted was probably not the same screen your script is using, I'd recommend opening the file in local user mode and switch to the layout you desire before hosting the file again.

Even though you have a script going to another layout filemaker remembers the last layout you used when you quit the file, as single user. In your case its trying to evaluate the layout and it's contents - summarization's prior to the script launching.

  • 2 weeks later...
  • Author

I tried your suggestion and it did not work. I closed the file on the server and opened it (single user) and switched to the splash screen layout. Then I closed the file and then opened it on the server again. To my dismay, when I open the file running on the server it still opens on this other layout occasionally. This is extremely frustrating. This behavior only happens when running on the server. I originally posted this under the "SERVER" topic and it was moved to here. This is a server related issue and not a scripting issue. I wish they would move this back.

Edited by Guest

try this

as single user - create a new table "splash" no fields no relationships, then set it as the default layout - document preferences also, add this layout as a target in your startup script.

then put on server and report your findings...

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.