Skip to main content

At one point you had a link to describe how to write a custom data source so it will show up in the list of Custom Data Sources in TX.  Can you link me to that documentation?

Hi ​@summron is this the documentation you are referring to?

https://legacysupport.timextender.com/hc/en-us/articles/360051368092-Custom-Data-Source

https://legacysupport.timextender.com/hc/en-us/articles/209604866-Custom-Components-Setup


The first link is how to connect to a custom data source that is has been created.  I was looking for the documentation of how to interact with create a custom data source in C# similar to this:

using System;
using TimeXtender.OpenInterface;

public class CustomDataSourceProvider : IDataSourceProvider
{
    public string Name => "Custom Data Source";
    public string Description => "A custom data source provider example.";
    public string ProviderVersion => "1.0.0";

    public IDataSourceConnection CreateConnection(string connectionString)
    {
        return new CustomDataSourceConnection(connectionString);
    }
}

Once all the methods are written so TX know how to interact with the custom data source, then the documentation on where to install it so TX can see the custom data source provider.  You sent me a link to a few videos on how to do this a few years ago, but I don’t know if the process is the same as then.


Hi,

if you are developing for 6xxx I would expect those APIs have changed by now. The last time I did some work in this area for 20.x I already had to use different calls than the ones listed in the videos.


I am developing for the latest release I downloaded which is 20.10.59


Hi ​@summron we do not have a dedicated article for “building your own driver” yet

Below, you will find some video tutorials on how to create a custom data source. The videos were originally created for TimeXtender's internal use. The videos are based on the 20.10 version.

Please note that the naming conventions have changed since we created the tutorial. The main changes are:

  1. The dll file must now be named "TimeXtender.CustomDataSource.*.Dll", where * is a name of your choice.

  2. TXServiceProvider is now called ServiceProvider.

  3. TXDataSource is now called CustomDataSource.

Part 1: https://ilos.video/N0jXLI
Part 2: https://ilos.video/LjOvo7
Part 3: https://ilos.video/q95IJj
Part 4: https://ilos.video/VpwrcC
Part 5: https://ilos.video/I4kvKl


Thank you everyone for the advice and help!