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.

global fields and sessions

Featured Replies

In my application, there is a screen that has a portal on it. The relation to the portal is based on a global field (gNo). I then let the user click on a button that calls a script which changes the value of gNo, and the data displayed in the portal changes accordingly.

Now, I am working on making this screen using XSL (transforming XML to HTML). I have created a link which calls the script, and this seems to properly change gNo, but it does not seem to change it more than once. I know that if you want to update a global field, you have to use the .global syntax in order for the value to be tracked during the current session. Is the problem occuring because I call a script which then does the SetField on my global field?

I guessed that my problem is either the global value is not persisting between requests, or my sessions are not working properly. I can only assume my sessions are working correctly: I am not being asked to login each time I click the link, so I assume FileMaker knows I am in the same session.

Can anyone help?

Check http://fmforums.com/forum/showtopic.php?tid/161554/ for use of global fields. You have to turn database sessions on according to the CWP Guide.

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.