We're in a similar situation where we need to choose from multiple projects from our sites around the country on our development PC. Each site has their own .dsc file. The solution we've come up with is to:
- Terminate the "xpDataLinqServer" process
- Overwrite the "datalinqs.dat" file in "C:\Program Files\XPression\DataLinqServer" with the site's .dsc file
- Run xpDataLinqServer.exe again
We automate this in our software. It would be nice to have a better way. It would also be nice if they had some kind of plugin API so we can add our own data sources. For example, Sqlite or maybe a live data stream.
------------------------------
JOHN
------------------------------
Original Message:
Sent: 11-23-2021 15:57
From: Nick Huntley
Subject: Datalinq Server API
Is there a datalinq server API? Theres a few use cases I can think of where automating the path of a data source inside Datalinq Server would save me time and provide some flexibility (we run a lot of package-specific data sources via some command line applications that all share a common name in datalinq, just changing the pathing per show). I do see a DLL file for xpDatalinqClient but when I load it in Visual Studio it has very little in the way of interfacing with the server.
Thanks,
Nick
------------------------------
Nick Huntley
------------------------------