Skip to main content
Solved

Custom Data Source


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?

Best answer by Christian Hauggaard

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

View original
Did this topic help you find an answer to your question?

6 replies

Christian Hauggaard
Community Manager
Forum|alt.badge.img+5

  • Author
  • Starter
  • 3 replies
  • March 19, 2025

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.


rory.smith
TimeXtender Xpert
Forum|alt.badge.img+7
  • TimeXtender Xpert
  • 652 replies
  • March 19, 2025

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.


  • Author
  • Starter
  • 3 replies
  • March 19, 2025

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


Christian Hauggaard
Community Manager
Forum|alt.badge.img+5

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


  • Author
  • Starter
  • 3 replies
  • March 19, 2025

Thank you everyone for the advice and help!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings