FactoryTalkView ME Expression, Button Visibility

nmk34

Member
Join Date
Apr 2019
Location
texas
Posts
80
I have 3 groups of users under security settings. i want a button to be visible when group1 or group3 logged in, and invisible when group2 is logged in. what would be the expression under Animation...Visibility looks like?
is there more than one way to point in the expression to the groups?
 
Assign the two groups you want it visible for a security code letter that the third group does not have (such as 'A', 'B', 'C', &c).

Then in the visibility for the button, use the expression 'CurrentUserHasCode(A)' replacing 'A' with whatever letter you assigned.
 
Shouldn't you use Visible instead of Invisible? Because what you have is only invisible to "Group2", any other users or groups will see it.
If you use Visible, you can assign which group can see it.
 
The OP wanted it visible to groups 1 and 3, and invisible to group 2. Set it up however you like, as long as it is working the way you need it. I think you will find that the expression for making it visible for groups 1 & 3 gets a little more complex. This however is very simple.

But again, as long as it works, do it however you want. Once you have at least two groups to make visible and at least two groups to make invisible then the expression gets more complex anyways. In that case I would have selected visible instead.

OG
 
Last edited:

Similar Topics

I just converted an existing application from RSView32 to FactoryTalkView SE. In RSView32, the Datalog was made in a *.DBF file. There was...
Replies
2
Views
66
Hello Friends I have 2 languages in my app, en-US, es-MX. I need to send CurrentLanguage to PLC, I am trying with Macro in Global Connections...
Replies
5
Views
181
What is the gold standard ( hoping there is one )for converting ME alarms over to SE? I've been using the RA Knowledge Base method of creating a...
Replies
1
Views
728
WOW. This one still has the low resolution graphics from the 1990's at about 10 times the price. just FOUND OUT Automation Direct Brix can Run...
Replies
18
Views
3,091
Hi guys, Is it possible to automatically generate PDF Report of Trend and Datalog in FactoryTalk View SE v12? If YES, Please, how?
Replies
0
Views
675
Back
Top Bottom