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.

Allow access based on a calculation within a portal's records

Featured Replies

Hi All,

 

I've got two records. The parent record has a 1 to many relationship with the child.

 

The parent is for clients

The child is for people

 

I want to only allow someone access to the parent records, when there is at least one child records which has Are_They_Green = "Yes"

 

So if any of the client's people are green, then access will be allowed to the parent.

 

I'm using a calculation within the privilege set, view limited: Are_They_Green = "Yes"

 

The problem that i've got, it seems to me, is that i'm only getting one or a couple of layers down in the portal. How can i calculate it to show that there is at least one occurrence of Are_They_Green = "Yes" (assuming this is the best way to go).

 

Thanks for any help - been searching but to no avail!

 

 

 

 

Try:

not IsEmpty ( FilterValues ( "Yes" ; List ( Child::Are_They_Green ) ) )
  • Author

What a great suggestion - thank you so much. I'll be able to try it tomorrow.

Best wishes :)

  • Author

Worked a treat - many thanks for your imagination and help!

:king:

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.