Skip to Main Content
Spotfire Ideas Portal
Status Future Consideration
Product Spotfire
Categories Scripting
Created by Guest
Created on Apr 11, 2023

Add method to create DataSource via list/array of values.

Scenario

Given lists of values - e.g., `set_a` and `set_b` - in the example below, goal is to create a DataTable in .dxp.


set_a = [1, 2, 3, 4]

set_b = [5, 6, 7, 8]


Current Workflow

The DataSource Class is created by (1) generating a tab-delimited string, (2) passing it into StreamWriter, and (3) converting it to a DataSource via TextFileDataSource method.


Proposed Workflow

Implement a method/Class that avoids steps (1) and (2), and convert a set of lists (of values) or DataTable Columns Class directly into a DataSource.

  • Attach files