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.

Deleting Portal entries

Featured Replies

I have a layout with multiple portals.

I allow the user to delete portal rows in one of the portals through a script.

The other portals do not have the 'allow deletion of portal records' box checked.

When the user clicks the 'delete item' button, a script executes the 'delete portal row' script step. This step will delete the selected portal row no matter which portal has been selected. This can create havoc in the database.

How can I be sure the user has selected the correct portal before I execute the 'delete portal row' step? I use a custom dialog box to ask the user to verify the desire to delete, but they may discover that they can delete anything they want without understanding the consequences, and just go ahead and delete whatever they'd like!

I'm using developer 7.

TIA

To remove ambiguity the "delete" button should be in the portal row.

I agree that placing it above the row is a bit ambiguous, but it does sometimes have it's uses and if it's consistently applied...

If[ IsEmpty( Get(PortalRowNumber) ) ]

Show Dialog[ "Error" ; "Select A Row" ]

Halt Script

End If

Delete Portal Row[ ]

  • Author

Thanks!

The delete button in the portal row clutters the screen a bit, but does remove any ambiguity.

I don't believe the script offered as a solution would solve the problem. I don't see that it restricts the delete to any particular portal. As long as a portal row has been selected, it seems that it will be deleted, wherever it is.

Thanks again!

Tom

Why not use one of the icons of a trash can that is available?

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.