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.

Delete Log

Featured Replies

I have been adding a delete script for some images that my users in the shp will be adding & deleting. But I don't just want any Tom, Dick, & Harry deleting the images. I have just thought about giving a few supervisors the responsiblity of deleting any content from the containers. And I will probably do this, but I would like to track who deleted what, with a timestamp, etc. And if at all possible actually store the object that got deleted for a period of time if possible. Are there any examples of this kind of a log out there?

TIA,

Nate

Sorry about the long response time. My cookies aren't working right and didn't display a new post icon for this message board. Sorry.

I would use Accounts and Privileges to prevent access to the Container fields. You can set fields as modifiable, view only and no access when you create a Privilege Set. You'll find these options in the Custom Privileges item under the Records popup menu. In the following dialog, choose a table and look in the lower right corner for Fields. Under this popup menu, you'll see an option for Limited which allow you to set access to each field individually.

Once you have set up the Privilege Sets and connected them to the Accounts, you'll want to create scripts that look at the access level. Rather than looking at the privilege set name or the extended privileges, use Get(LastError). This will make the script much more dynamic so the script will adapt as soon as a new privilege set is added or modified.

I have attached an example file demonstrating a script that inserts a picture for some accounts and not others. The passwords are on the opening layout but they are as follows:

Full Access

Account: Admin

Password:

View only

Account: [Guest]

Password:

Modifiable

Account: Guest2

Password: abc

When I say , I mean don’t enter any password.

When you logon with the [Guest] account, you will not be able to add an image. When you logon as Guest2 or Admin, you will be able to add a picture.

Container.fp7.zip

  • Author

Thanks John Mark!!

Here is an update to the file that shows how to archive the picture when inserting a new picture.

Container2.fp7.zip

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.