Upon Close script and restricting access

Support for our integrated Contact Manager, Calendar, and Project Tracker.
Posts: 40
Joined: Wed Oct 06, 2010 6:49 pm
PostPosted: Wed Aug 03, 2011 9:32 am
For one set of users I need to only let them modify existing records, they cannot make new records nor delete existing records.

However the Upon Close script ends with:
New Record/Request
Delete Record/Request [No dialog]

This causes a permissions error popup. What is the purpose of the New-Delete script steps? Is this something that I can just remove?

BTW, I'm also restricting access to some layouts, but with the Status Area hidden (the way the client wants the DB) a user can get stuck on a FileMaker generated "No Access" page.
I seem to remember someone had a cool way to have a custom page show up for any layout that was restricted (one that I could put the custom nav links on), was it on here I saw that??? Does that ring a bell?

Thanks
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Sun Aug 07, 2011 8:16 am
To tell you the truth, I don't recall what we were trying to accomplish with those two lines, so you can remove them. Though for some other scripts, like "Create Calendar Records", you'll want to set the scripts to run with Full Access as they may need to delete records.

And while I haven't heard of people creating a master redirect layout for those that can't be accessed, that is a great idea. Create an OnLayoutEnter script trigger for each layout whose access might be restricted, and have this trigger navigate to your redirect layout when Get ( LayoutAccess ) = 0.

Thanks for the suggestion!
John Sindelar
SeedCode

Return to SeedCode Calendar

Who is online

Users browsing this forum: No registered users and 3 guests

(855) SEEDCODE
[email protected]
Follow us: