Skip to Main Content
Spotfire Ideas Portal

Add `ReplaceDataFlow()` method for `DataTableDataSourceOperations` class

In IronPython API, DataSourceOperations class has the ReplaceDataFlow() method which allows Data Table replacement without affecting downstream Data Transformation steps, similar to manually replacing in Data Canvas (i.e., click on table > Replace data source).


This method is not available for DataTableDataSourceOperations class; it has the ReplaceData() method, which removes all downstream Data Transformation steps.


Having to re-add the deleted Data Transformation steps is tedious.

  • Attach files
      Drop here to upload
    • Guest
      Reply
      |
      Jan 2, 2025

      I would highly appreciate the function.
      For me, I have a table which consists of the merge of two other tables and one DataSource. I would like to replace one Table which a DataSource. But as a matter of fact, I looks like it is not possible. And I do not want to use the ReplaceData() method, since it will remove all merges and transformations as mentioned above.

    • Admin
      Magnus Rylander
      Reply
      |
      Oct 26, 2023

      Hi Ivan, thank you for contributing. I have a little problem understanding the idea. Do you want an API for changing data table in DataTableDataSourceOperation? And that such call would not affect any downstream transformation steps?

      1 reply