Witz Posted December 9, 2009 Posted December 9, 2009 I have some navigation buttons in a portal row which displays them if Get(Extended Privileges) = "AdminButtons" This is from The Missing Manual book. It worked for a while, then I'm not sure what happened. Today, I'm testing it and regardless of which account I'm logged in as, GetExPriv returns "AdminButtons" even when I'm logged in under an account that does not have that extended privilege assigned. I read a bit about calculations on Host vs Client, but this function is supposed to be one of the exceptions to that problem. Nonetheless, I've been quitting Filemaker in between logins to hopefully force a new connection and thus new calculation, but that hasn't solved it. Every account returns "AdminButtons" whether it is assigned to that account or not. Any assistance would be greatly appreciated.
bruceR Posted December 13, 2009 Posted December 13, 2009 (edited) Depends on exactly what you're doing. Extended privileges cannot be used within the definition of account privileges, see KB 7161 http://filemaker.custhelp.com/cgi-bin/filemaker.cfg/php/enduser/std_adp.php?p_faqid=7161 They can be used in scripts however. If you modified a field definition, did you define the result as unstored? Edited December 13, 2009 by Guest
Witz Posted December 15, 2009 Author Posted December 15, 2009 Thanks BruceR, sorry to delay responding. hmm. I have them as globals. but I guess it doesn't matter if every record has the field, as it will all be the same. I'll try it with the Recalculate option instead of global. I'm not sure what KB 7161 means though. Thanks for your input.
Witz Posted December 15, 2009 Author Posted December 15, 2009 Yup, it was the calculation storage. I thought globals always recalculated, but I guess not. Thanks so much. My admin buttons now show up only for admin staff. cheers, ~Mike
Recommended Posts
This topic is 5527 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now