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.

How to verify that at least 1 record is entered in a portal

Featured Replies

I have a Contact layout (table Contacts) which also displays a portal (table ContactTypes) allowing the user to enter many contact types for a Contact. I need to make sure that at least one record is always entered by the user in the portal for each contact that is created or modified. Where should I put this validation on the Contact layout, and what would be the commands ?

Similarly, I would need to create a script that would scan all Contact records, and create a record in the portal (ContactTypes) for this contact if none was found. The new record created would be assigned a static contact type value (ex: "General").

Thanks

You can check if there is a record in portal with IsValid () function and to check if there is only one or more records you can use Count () function.

HTH

You could also use the IsEmpty(RelatedTable::RelatedField) Function.

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.