Skip to main content
InSource Solutions

TN AppSvr191 Configure DDE/Suitelink object to automatically reconnect to a DAServer

InSource_Logo_Transparent.png

Description

This article from Insource shows how to configure a DDE/Suitelink object to automatically reconnect to a DAServer

 

This article from InSource shows...How to configure a DDE/Suitelink object to automatically reconnect to a DAServer

  • Author: Mike Viteri
  • Published: 03/09/2016
  • Applies to: Application Server

Details

Sometimes a DDE/Suitelink object will get disconnected from a DAServer. If this happens there isn't an automatically reconnection function.

We monitor this connection and reconnect if needed using a script inside of the DDE/Suitelink.

  • Open your DDE/Suitelink object. Click on the scripts tab

 

  • Create a script called Reconnect

reconnect.jpeg

  • Configure the script as below

reconnect2.jpeg


Scripts: Execution type: Execute (default) and locked

Expression: Me.ConnectionStatus <> 2
Trigger type: WhileTrue (default)
Trigger Period: 00:00:05.0000000
Script body Me.Reconnect = true

 

  • Save your DDE/Suitelink and redeploy

 

Now anytime the DDE/Suitelink disconnects it will try to reconnect to the DAServer every 5 seconds.