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.

Scripted delete problem

Featured Replies

In the solution I’m working on, I will have a group of users with restricted privileges that do not allow them to delete records, however in one portal I want them to be able to select a portal button and (via a scripted delete) delete the portal row. This is the only instance in the entire solution in which they will be allowed to delete. How do I allow them “full access” to delete only in this portal? I’ve tried FM Help and looked over accounts and privileges and can’t figure it out.

This is what the script looks like now and works great for users with privileges that allow them to delete.

---------------------

SetVariable [$CopyRowCurrent; Value:TermYear::RowCurrent]

Delete Portal Row []

SetField [TermYear::RowTemp; $CopyRowCurrent]

Go to Portal Row [select; No dialog; TermYear::RowTemp]

If [Get(PortalRowNumber) <1]

Go to Portal Row [select; Last]

End If

----------------------

TIA lpm

  • Author

Sorry! As soon as I sent my message, I returned to the script and noticed (for the first time!) the "Run script with full access privileges" checkbox. Sorry for the lame post. lpm

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.