Changing User Default Preferences
5 posts
• Page 1 of 1
Posts: 32
Joined: Mon Jul 08, 2013 9:43 am |
I believe I heard that based on different user log ins I could set a default view, like only showing resource list A when they log in. If this is accurate, I'm not sure what script to edit or I need to add a new script.
|
Hi Illyssa,
We don't have any stock scripts tat do this, but there are a few FileMaker functions that allow you to determine who the user is, or what privilege set they're in. Get ( AccountName ) Get ( AccountPrivilegeSetName ) probably being the most useful. Our "Upon Opening" script runs after Log-In so you can add to the end of that script what you want to happen based on the results of one of the above functions, like setting up a "pre-filter" would be a common thing to do here. http://www.seedcode.com/pmwiki/pmwiki.p ... 12.Filters hth, -Jason |
|
Posts: 32
Joined: Mon Jul 08, 2013 9:43 am |
Jason,
I'm having one of those days that I don't think even my large coffee can fix. I thought maybe I could just add an If portion to the script that said : Get ( AccountName ) If (Account Name = "itussing"; CalendarInterface::ValueList = "Mesa") I know this isn't working and is WAY to simple to work but for the life of me I can't seem to tell why it won't work or how to fix it. I apologize that this is probably super easy for you but I seem to really be struggling. |
It's not that easy
It looks like that's a calculation and not a script. The bottom of the Upon Opening script would look something like: hth! Jason |
|
Posts: 32
Joined: Mon Jul 08, 2013 9:43 am |
Thanks Jason!
|
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests