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.

How do I disable the ability to view a field but still allow scripts to use it..???

Featured Replies

I'm storing PHP code in a field and using the SmartPill plugin to run the PHP code within scripts. I'd rather my end-user's not be able to see the actual PHP code that's getting run.

I've got a separate user created and a separate privilage set setup but the closest I could come up with was saying No Access on that field for this user. This way the field actually says and they can't export that field, however, the scripts are also failing when they try and pull the data from that field.

Is there any way I can accomplish what I want? Any information would be greatly appreciated. Thanks!

To anwser your question ;) a script or a sub-script can be performed in Full Access..

...but should your php code be on a user interface layout ?

Edited by Guest

  • Author

I'm not sure I understand what you're telling me here..??

I don't want to allow Full Access. I'm distributing this as a runtime solution so I'm stripping the admin user out. I've got the normal user in there with access to pretty much everything except deleting records out of 1 database and I'd like to also disable their ability to view this one field in that same table, but they still need access from the scripts that run to pull the values from this field.

I can remove the field from the layout easily enough, but then if you go to export records you can see the PHP code that way.

I know I can remove the ability to export records for this user, however, one of the features in the solution itself uses the export records features.

  • Author

Ohhh...I see the option to run the script in full access mode. I'll play with that. Thanks!

  • Author

Well, I've got the check box for Run script with full access privileges checked but I'm still getting an error thta I don't have the privileges to run the script when I log in with the basic user. Any ideas?

  • Author

Nevermind, one of the subscripts didn't have it checked. Sorry.

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.