Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Adding portal records unless..

Featured Replies

Hi.

I have a script that adds several records to a table via a portal.

I want the script to only add records if the related table is empty. If there are any records in the related table I want it to come up with a custom message.

Thanks!

If isEmpty( portalTO::keyfield)

Your existing script

Else

Display dialog

End if

Create an account or sign in to comment

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.