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.

conditional value list based on PrivilegeSetName

Featured Replies

In an application that will run from Server8 Advanced, I have a table that is (among other things) used to populate a value list.

I want to restrict which values from the table appear in the list, based on the privilege set assigned to the current user. (Some users will see all values, some will see just one or two, others will see most but not all, etc.)

I've tried a couple of approaches, but then realized that they will fall apart as soon as there are two concurrent users.

The only solution that I've thought of that will work in multiple concurrent users is to have multiple versions of the list (for each privilege set)used on multiple versions of the layout.

I don't like that approach, and am therefore looking for suggestions from others.

Any ideas?

bkg

Add a field to the records that make up your value list that is a return-delimited list of the privilege sets that will see that record.

Then from the context in which you want to view the value list, define a global field that is set to the privilege set name upon login.

Use these two fields in your relationship do define your related value list.

  • Author

Dan -

Your advice is what I was looking for. It does exactly what I want.

One thing that I'm not sure about, though...does each concurrent client maintain its own values for globals? I read a bit in the Help files that seems to hint that they do, but I'm not sure that I understood all that I read.

Edited by Guest

Yes, each user has their own set of globals. When one user changes a value of a global it's for his session only, it does not change the value for other users.

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.