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.

Lock Layout fields / file access

Featured Replies

I am trying to prevent editing of records in browse mode. I set the file to be opened in read-only access mode. That prevents editing of records. I also made two buttons named Edit and Commit. Basically they have re-login scripts attached to them that will re-login the user without a dialog between read-only and data-entry access modes. The reason is as I will have quite a few people browsing the records daily so I want to prevent accidental changes of data.

When in read-only mode I would however like to get rid of annoying "your account level does not allow this action" message and I would like to lock the fields so that they cannot be selected much like field behavior setting.

Is it possible to lock all fields in the file via script so that they cannot be selected and make them selectable with another script (would attach that to my Edit button).

How would I accomplish that and is there maybe a better way of doing what I described here?

Thank you.,

Only using multiple layouts -- one set of layouts has fields limited to entry in find mode. It can be a lot of work.

There are better ways to lock/unlock records than re-login, especially since the password is embedded into the script, it will break when the passwords change.

Look into setting record-level acces privileges. I've used a system where records are "unlocked" when the record ID is entered into a global field. Records can only be unlocked one at a time, which solves the accidental deletion on records problem too.

Be aware that such a record locking system makes all scripted "background" processes that edit fields liable to break, because the records will be locked. This can be worked around by running the scripts with full access privileges, but then all info about the user that edited the records will be incorrect.

Edited by Guest

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.