please, I have issue with OpenDialog via CheckBox and with longer boot time for mappview visu in AS6 - 2,8 seconds compared to AS4 - 1,3 second.
I need the dialog to open even though I have the visualization turned off on my PC and then I turn it on. So I have a variable attached to the checkbox. The problem is that sometimes, for example every 15 times of page/visu reload the dialog does not open and an error is displayed. Now that I have switched to AS6, the boot time is much longer, and the dialog does not appear for example every 4th time.
I also need to somehow solve the longer boot time, I do not think it is right. Sometimes it also says try to established connection. For login I use Anonymous token.
If you do not fully understand me, I can make a video.
Hi @jhospodka1, I’m not sure if Community can help with this. Maybe someone will provide you with an idea on how to solve your use case in a better way, because from my point of view, you have a timing issue there. If you do not get an answer here, please get in touch with a colleague from support and provide them with your project.
There seems to be some timing issue. Try to enable the mappView diagnostic page and then do a recording when it works and when it fails. The timing diagram might give you a hint what is different between the two cases.
If I have understand correctly you want to open a dialog box link to a PLC variable “Windows_Enable“ and when this variable is set to “TRUE“ even if no one is connected you want when someone just open the visualization to open this dialog box?
If it’s that I would recommend to use the session variable is valid in combinaison with the content loaded event to detect when a user is connected, in those even check your variable using and operand.
So you use the event ContentLoaded with a condition on execution for actions to specific content (use contentId), after that first action is to read using opcUa read action the boolean variable you have for open the dialog box, then if the result is TRUE then you open the Dialog.
This example is not working it’s just for information about the event / actions you should use.