Hello,
I have heard about a hidden feature in PcVue that allows the substitution of branch elements with the username of the current user. The substitution is supposed to be usable in animations or symbol instances.
Does anyone have details on that?
Hmmmm, did you try #N or #U ?
Nico
Hi,
I have discussed about it with Armin this morning.
The real goal of the feature asked would be having contextual internal variables when using a WebVue session.
We talked about #M11 to #M20 but it can only be used for some link open animation and can not be modified dynamically.
I think there could be a solution using a lot of animation and Scada, with verbs WEBVUE mode USERNAME and CONTEXT calulating internal predeclared variables such as @WEBVUE.USER1.*, @WEBVUE.USER2.*, ..., @WEBVUE.USERx.*
Do you know any other simple trick?
BR
Edouard
Hmmmm, did you try #N or #U ?
Yes, of course. 😉
I tried that... but no success. Not when using it in the animation and not when using it a symbol instance's context.
Contextual webvue variables is a recurrent issue.
As said by Edouard, no point having this except doing a complex script...
Having this feature built-in in PcVue would be a must-have!
Nico
Is there any possibility having a system variable like @System.Context.User filled with the current user, including WebVue session?
Second step, a substitution string #Something containing @System.Context.User that could be used in animations
Ed, how do you want to set the variable @System.Context.User ?
The last login will win!
For me the solution is more that PcVue creates IN RUNTIME a variable @SYSTEM.WebVue..User when a web user logs in. And then remove it when logs off.
Then in your animation you use the standard #N (user name) which is referring to the @SYSTEM.WebVue..User if the mimic is in a Web session (it should know its own sessionId I guess).
But, I think we should not give the solutions to dev team but our inquiries. Otherwise they will tell to develop it ourselves :whistle:
Nico
The idea is a variable different than @User whatever the name (@System.Context.User was an example), containing the current user logged, including multiples WebVue sessions. It is impossible now I know.
Yet, there is no system variable you can put in a mimic template because @User does not match with WebVue.
If such kind of variable could exist ...
As I said, yet, there is no real solution...


