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.

Featured Replies

Ok I have a nice login script now...

However I would like to do a seacrch on login to return only those files which are the users own files (unless admin of course).

So that the user does not see any "Access Denied" records.

this is proving tricky for me.

I have a field that is filled with the users user name on record creation and this is a hidden field so I would use that this field is called "creator"...

anyway thanks for any help anyone in advance.....

Hi Red,

Did you try as I suggested in this thread?

http://fmforums.com/forum/showtopic.php?tid/192394/post/277522/#277522

If you had problems with it, let me know I will see what I can do to help. If I can't help you then I'm sure someone else here will step in :)

Michael

Simply do a search on some value known to be in every record. The result will filter out those records the user [color:red]is not supposed to see while returning all the records the user is allowed to see.

Steven

  • Author

If this is the first time someone logs in they will not have any records and and as such will get an error...

Could a script be used to create a record and put their user name in the correct field...

so >>>

the flow of the script would be if

count = 0 (count is the count of fields with their name in)

Create record .. insert [userName] into field "creator"

then do another find>>>>

Is that silly or would it work....

Trap for that error--namely 0 found count--and branch your script to do whatever you want to do.

Steven

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.