KB-28700: Informing the Remote Viewer that the application has been altered in the Server.

Question:

How can I inform the Remote Viewer that the application has been altered in the Server? Whenever an application is edited and updated in E3Server, the Viewer is only updated when it is closed, and not by simply switching screens.

Solution:

This problem can happen when a library is edited, because it works with indexes, unlike the other screen objects, so the Viewer must be closed to be updated. In case it is not closed, it will use screens in cache, and the changes will not appear.

To inform about any changes via data server, follow these procedures:

  1. Create an internal tag.
  2. In the Viewer, create a user event that tests this tag’s Value property.
  3. In this event’s script, add a MsgBox command with the desired message to warn the user on the changes in the library.

Thus, every time you edit the application, you must edite the internal tag’s Value property manually before running the application, which will force the warning message to be displayed in the remote E3Viewer.

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Deixe seu Comentário

Seu endereço de e-mail não será publicado. Campos marcados com asterisco são obrigatórios *