How do I hide a button form all users that do not have Full Access privileges. Is there a script I can use in the "Hide" field in the Inspector or do I need to add this in the Manage security options. I need help with both
In my on first window opening script I
Set Variable $$HideMe to get(privilegeset) = "[full access]" which becomes 1 or 0. or is it Not full access?
In the Hide Field text field in the inspector I enter $$HideMe.which hides any field not full access. Thus I only have to remember one variable name. Of course you can name it what you like.
I can add the Set Variable but when I type in the Value as you mention it tells me that the get(privilegeset) = "[full access]" is an invalid Get function parimeter
I shortened the function and it is something like Get(accountprivilegesetname).
(sorry for the big font, copied that from a manual)
something like this:
PatternCount(get(currentPriviledgeSetName;"Full") > 0
Tried that same error message
Tried this as well, same error message
I use this almost on every Layout:
Hide Object when:
Get ( AccountPrivilegeSetName ) ≠ "[Full Access]"
PrivilegesSetName must be in  - Parenthese AND is Text. Thats why it must be quoted " ".
Thank Benjamin, this worked perfectly.
I use Benjamin's method frequently when adding a new feature to a currently hosted file. I can keep the feature hidden from the users while I create and test it, then remove the "hide" once appropriate notices/training videos have been sent to users who might be affected by the change.
I do this so often that I've coded it into a custom function so that I can just enter:
as my hide expression.
Talking about tips and tricks, something I recently established:
You often have some sketches and fields for testing on OR outside your layout. When creating 1 Tab Panel for development purposes to put the objects, the panel works like 'grouped objects' to let you move the panel instead of selecting dozens of objects.
You'ld be surprised how neat my layouts look now!
That is one of the ways I use Slide Controls, too. Very handy.
Retrieving data ...