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.

Calling a script by name (calculation)

Featured Replies

So you can change to a layout based on a calculation, but I can't find anyway to call a script by a calculation.

I'd like to store a script name in a record, and when a button is pressed on that record call that script.

Anyway to do this?

I'm about to try using the MacExample plugin with XMpl_StartScript

There's no equivelant built-in way to do this with scripts.

You might use a series of If-Else statements in a main calling script that checks the values of a field and branches accordingly:

If [ gScriptToCall = "Go to Main" ]

Perform Script [ Go to Main ]

Else If [ gScriptToCall = "Go to Personnel" ]

Perform Script [ Go to Personnel ]

...

End If

  • Author

Yeah, I figured that might be the answer, but I don't think an if is gonna work for what I want to do.

I'm gonna try the XMpl_StartScript, but I wonder what the best way to trigger it is. With a Set Field?

Thanks.

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.