Preface:
WATCH OUT!!!! BDT/GDT is actually only used in German speaking countries. A German guildeline on how to instlall the BDT/GDT-interface can be found on the Darwin2 installation CD in the folder "Docs". The file is called "Configure BDT_GDT.pdf". The text below is a very short version, just in case somebody non-german speaking feels like playing around with BDT/GDT.
Here we go
- Make sure folders for incoming and outgoing messages exist
- In the folder where Darwin was installed, find the file "DConnect_custom.ini" and open it (Don't change that file!!!! You only need it for your reference)
- Open the admin tool
- switch to Setup / extended settings
- Find the entry "DConnect customization"
- When you click on entry, a button appears on the right side. Click that button so a multiline-editor opens
In the [Incoming] section
- Specify "Format=BDTGDT". If the line is already there make sure to remove the leading colon (";")
- Specify the folder of incoming messages by entering "Path=C:\MyIncomingFolder"
- Specify the polling interval (how often Darwin should check for new BDT messages) by entering "PollInterval=60" (the value is in seconds)
In the [Outgoing] section
- Add values "Path=C:\MyOutFolder" and "Pollinterval=60" like above
Testing the configuration
- Press OK, save the changes and close the admin tool
- Start "DConnectGui.exe" from the Darwin program folder
- Click the "Test-GUI" START button
Im Protokollfenster sehen sie wie die DConnect-Applikation zu arbeiten beginnt. Zeilen, die mit niedrigen Zahlen (00 oder 01) beginnen, deuten auf Fehler oder Probleme hin. Sollten Fehler in ihrer Konfiguration auftreten würden Sie es hier sofort sehen.
z.B.
06 - Connecddting to DB... 04 - TDConnectHandler.GenerateMergedSettings 04 - TDConnectHandler.GetCommunicationType 06 - Source format : BDTGDT 04 - TDConnectHandler.ReadSettings 00 - Folder for outgoing messages doesn't exist : C:\BDT_Out\
- If error messages are shown, please read them. Sometimes error messages are meaningful and can help you to figure out what's wrong.
- Try to place a BDT-message in the incoming folder.
- After DConnect has detected the file it should be deleted and a new entry should show up in the "Worklist" section of the database.
Activating the service
After all that works, it's time to activate the DConnect service, so that DConnect works, as soon as the computer is switched on, even if no one is logged in.
Click on the Test-GUI STOP button. Then click the "Start service" button. If the service is not yet installed, you need to run the batchfile "DConnectService_Install.bat" with administrative rights.
If the service doesn't work as expected, you can enable logging for the service:
- Stop the service
- Right-click on the start-service button and select "Enable logging" from the context menu
- Start the service again.
- The log file is typically written to "C:\Windows\Temp\DConnectSvc.log". You can open the log file by clicking "...log..." in the DConnect-GUI application
Typical problems:
The service typically runs in the context of the user "local system". if you used network drives in the configuration, then this might fail, as you as a user might have a network drive like e.g. "X:\DarwinData\", but the user "local system" may not have this drive mapping. Use UNC-paths instead (= e.g. "\\MyServer\Data\DarwinData").
You also have to make sure, that the user "local system" also has full read/write access to that folders.
If everything works then...
...Congrats! :)
see Video (the file GDT_6301.gdt used in the video can be found in the "attachment" section of the video)