Switch between two environments

Comments

1 comment

  • Anders Kristiansen

    Hi Samir,

    When connecting the WATS Client it uses the provided credentials to create it's own user with role Client. The client will have two different users on the two environments, so connecting with an identical user will not do the trick.

    You can connect the WATS Client programmatically. It can be done with the .NET C# API by calling TDM.RegisterClient(), and it can also be done with for example Powershell. An example of how to do that can be found in this article, in the Connect WATS Client to WATS section: https://support.virinco.com/hc/en-us/articles/20088918877980-How-to-do-an-unattended-Install-Setup-of-WATS-Client

    Note that when you change the connection, reports that are queue for upload (temporarily saved in C:\ProgramData\Virinco\WATS\Reports\) will start being uploaded to the other environment. Therefore this sounds like a bad idea to do in production.

    If the goal is to synchronize or share test data between environments, rather than manually switching them, consider using Enterprise Connection. This module automates data forwarding and synchronization between two WATS accounts/environments rather than manual reconnections.

    0
    Comment actions Permalink

Please sign in to leave a comment.