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.

Delete Portal Row script step not working

Featured Replies

I have a portal and I want to give the user the option to delete a portal row. So I have an [x] button that calls a script that uses the delete portal row script step, but it does not delete the portal row. It does not give me any errors in the debugger. On the same layout, in another tab, is a different portal that uses the delete portal row script step in it's delete script, and it works fine.

I've compared the two to see what's different. Both have the same settings in the edit relationship dialog, both have an object name for the portal. The only difference I can see is that the portal that works is based on a join table, and the other one is not. I don't see why that would make a difference.

Any ideas?

Thanks!

  • Author

Really odd, but this seems to be working now. I think it might have been that when I put bunk data in the portal row, I put text in a number field, and that was preventing the portal row deletion? I tried to replicate it, but I couldn't. Oh well, don't know what the problem was, but it works now.

  • 1 month later...

For an unknown reason, I had exactly the same problem.

Just restarted Filemaker and it worked. I wonder if this bug has been reported to FMI.

  • 8 months later...
  • Newbies

This happened to me when activated from the "Set Script Trigger" the "OnObjectExit".

:

  • 7 months later...

I have the same problem, is there a solution?

This isn't a "bug" in Filemaker, but rather something with your setup. If you'd post a clone of your file, we could look to see what you're doing wrong. Some ideas...

you have a record level access rule on the privilege set that you're using which prevents delete in that table,

you're not in the portal row (your script commits before the delete portal row step),

you have a script trigger somewhere that is interfering,

All just guesses, we need to see the file.

PS: Script triggers are the cause of many unexpected behaviors. My suggestion is to use them with caution.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

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.