Hi,
Here is my problem:
We have a little program on our laptops that monitors any change in network connections (going offline, connecting to the VPN, internet access, etc.)
What I would like to do is find a way to change the location of the Notes Client from this program and according to the current network state.
For example, if the user goes offline, I’d like to switch the Location to Island, if he then has an internet connection available, I’d like to switch the Location to Internet.
I’m not sure if this is possible. I’ve tried using the C++ API but SetCurrentLocation is a method of NotesUiWorkspace so I can’t use it in a agent that runs on the server.
Do you have any idea ??
Thanks.
Subject: Changing client location
“… but SetCurrentLocation is a method of NotesUiWorkspace so I can’t use it in a agent that runs on the server.”
The code would have to run locally, no? If the user is in Island, there cannot be a Notes connection to the server to access code that runs there. Nor would server-side code run after the user disconnects, so setting the location to Island on disconnect is also a no-go.
Subject: RE: Changing client location
Of course, the code can’t run on the server. On every laptop we have this resident program that monitors the network connections, when something is changing, I’d like it to run a program (setClientLocationToIsland.exe for example), or a script, that will change the Notes Client Location according to the new network status.