Question:
How can I ensure the WebViewer will require a login and password when it opens?
Solution:
The WebViewer works the same way as the Viewer, which means the login and password will be required with a script in Viewer’s OnStartRunning event calling Viewer’s Login method.
If you follow these steps and the login is cancelled, the application’s initial screen will open.
If you wan the Viewer/WebViewer to run only after the password has been validated, you must set up a user in the application to not be allowed to open the screen:
By doing this, you will no longer need the script suggested above, and if the login in cancelled, the initial screen will not be opened.