Jump 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.

Featured Replies

I have solution with many layouts, including Main Menu layout, Data Entry Layout, Repots Printing Layout 

 

How can I make the solution to go back to Main Menu after closing Data Entry or Reports Printing Layout.

 

 

 

In Layout Setup, under the Script Triggers tab, choose OnLayoutExit.

  • Author

I did but it didnt work...once I close the layout it the solution get closed too.. I want it to go back to main menu layout once I close that layout

How are you trying to "close" the layout? Do you mean you want to close the window via the windows X icon?

 

The easiest way is to open your Data Entry or Reports layouts in a new window.

  • Author
Yes, that's correct, I close it through x-icon
 
 
How can I open the layout through new window?

If you are navigating to the layout with a button, have it call a script:

 

New Window

Go to Layout[theLayout]

If you're scripting this and your file has an OnLastWindowClose script and the window is the only one in the file that's open, you should script the New Window step before closing the first one if you don't want to trigger the script.

Rick.

One question, is how does a user close the solution? If it's using the Close Window button while on the Main Menu layout, that makes sense.

 

There's two ways, one is with a custom menu that runs a script instead of the close window. The other is with a script trigger onLastWindowClose. Either way, the script should check to see what layout it is on.

 

If it's a custom menu, then the script should check to see if you're on the Main Menu layout. If yes, Close Window[], if no, Go to Layout[Main Menu].

 

If it's onLastWindowClose check to see if you're on the Main Menu layout. If yes, Exit Script[], if no, Go to Layout[Main Menu] and Exit Script[False].

Create an account or sign in to comment

Important Information

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

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.