Changing User Default Preferences

Support for our integrated Contact Manager, Calendar, and Project Tracker.
Posts: 32
Joined: Mon Jul 08, 2013 9:43 am
PostPosted: Fri Jul 12, 2013 6:39 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.
SeedCode Staff
SeedCode Staff
Posts: 691
Joined: Mon Feb 28, 2011 2:47 pm
PostPosted: Fri Jul 12, 2013 8:37 am
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
PostPosted: Fri Jul 12, 2013 8:58 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.
SeedCode Staff
SeedCode Staff
Posts: 691
Joined: Mon Feb 28, 2011 2:47 pm
PostPosted: Fri Jul 12, 2013 9:28 am
It's not that easy 8)

It looks like that's a calculation and not a script. The bottom of the Upon Opening script would look something like:

Screen Shot 2013-07-12 at 11.27.14 AM.png
Screen Shot 2013-07-12 at 11.27.14 AM.png (96.58 KiB) Viewed 11832 times


hth!
Jason
Posts: 32
Joined: Mon Jul 08, 2013 9:43 am
PostPosted: Fri Jul 12, 2013 9:49 am
Thanks Jason!

Return to SeedCode Calendar

Who is online

Users browsing this forum: No registered users and 3 guests

(855) SEEDCODE
[email protected]
Follow us: