December 9, 200916 yr 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.
December 13, 200916 yr 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, 200916 yr by Guest
December 15, 200916 yr Author 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.
December 15, 200916 yr Author 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
Create an account or sign in to comment