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.

Record Level Access - <No Access> records appear!

Featured Replies

Hi,

 

I hope someone can help me. I've create a script (posted below) which uses the Get(AccountName) function to look up the users account name in a table and return the department they sit in (as a FK). I then use this to perform a find on my layout and return only the records that the person has access to view.

 

This works, however, instead of just returning the 5 or so records I want (as it does if I were to perform a find on the actual layout manually) it returns all the records but has <No Access> populated for all the other records.

 

Can anyone tell me if I've missed out a step in the script or something else so I can figure out why it's not working.

 

Many Thanks in advance.

 

 

post-112258-0-60323500-1421330288_thumb.

have you stepped through your script with Script Debugger to see if the IF actually works?

 

Also, in your search for $dept, use "==" & $dept otherwise you may get more results than you expect (if you look for dept 1, you would also get dept 11, 110,...) unless you do the "exact" search with "=="

The Show All records command does not respect the record-level security in terms of the found set.

Instead of Show All, do a Find where the ID is >0 (or *).

This will use the security settings to return only records accessible to the user.

Does your script run with full access privileges? (bottom of the Edit Scripot window)

  • Author

Thank you all for your help. I've got it to work so it only show the records they have access to. :)

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.