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.

Using Set Variable across different files?

Featured Replies

I see how to define and use "Set Variable" within a single file... but is there a way to use "Set Variable" to pass variables to different files?

Am I missing something here?

Many Thanks to all the FM Guru's out there!

Dave

You can pass data to a script in another file by using the script parameter.

  • Author

Ahh... makes sense but how would you pass several variables since there's only one field?

Thanks for the insight!

Dave

I think I've seen about a million ways to do that - mostly involving custom functions to set/retrieve named values in a text "array" - but I still believe this one is the most elegant:

http://www.fmforums.com/forum/showtopic.php?tid/172514/post/187782/#187782

Of course, in most situations a single value passing the key should be sufficient. Once you have used that to establish a relationship, you can access the original data at its source.

  • Author

Now we're talkin'! Just what I was looking for!

Happy New Years!

I couldn't agree more, and especially the solution provided in this post:

http://www.fmforums.com/forum/showpost.php?post/187787/

:thumbup:

--sd

Now we're talkin'! Just what I was looking for!

How could it, you profile says fm6 :

--sd

But the original question says

This Post:

Client: 9 Advanced OS: Mac OS X Tiger Host: Server 9 Advanced

Lee

Maybe, the original poster should update their profile in Control Panel, so it will match with the specification that shows in the OP's question...

Because we provide two ways to tell us what version is involved.

The one in the profile is used to let us know what version you use all of the time.

The version in the Question is to be used if the question is on a different version than the profile.

In other words, you don't always work on the same version that you own.

HTH

Lee

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.