EcoStruxure Geo SCADA Expert Forum
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-12-14 09:03 AM
Hi everyone,
Is it possible to have the logged in user's fullname on a text animation?
With the USERNAME() function I only find the user's name and not the FullName of him...
Thanks!
Ivan
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-12-14 08:43 PM
Where would you get this "user's fullname" from?
Because the GeoSCADA database doesn't contain any such field as a default.
If you want to find the FullName of the CDBUser Object, there's two ways I can think of.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-12-15 06:57 AM
Thanks for the reply.
I need to animate all objects on the page based on a user property.
The users path might change so concatenating strings is not good.
The query works but I don't like that it runs continuously (for all logged in users)...
Can I animate objects with a parameter from a built-in mimic from another layer? So I could make a script with the "Mimic_load" method and set the parameter.
Thanks!
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-12-15 08:17 PM
I need to animate all objects on the page based on a user property.
This doesn't sound at all like your original request.
What is the final outcome / system requirement that you are trying to achieve?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-12-17 11:00 AM
I created a boolean Metadata on the CDBUser table.
Now I want a "Text" object to be colored green if this property is true, otherwise it is colored red.
Since I don't know the user path because it might change I'm thinking of a flexible way to do it...
I hope I have explained myself
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-12-17 09:00 PM
Are you sure that your boolean isn't better represented as some kind of security permission (or group membership)?
Having an EXISTS("CGroup that only the right security permissions can see") animation will be far more performant than trying to look back to a dynamic user object metadata.
Other options are setting a REGISTRY value at logon or similar, you'd set the REGISTRY at Mimic_Load for the post logon display.
You could always raise a support ticket to request another function (like USERNAME()) that gets the fullname of the logged in user. There is an Ideas forum here to do similar.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.