I have been searching the API and the web for getting the data connection name programmatically within an IronPython script. You can find the data connection information, which includes the name, in Spotfire here:
Data > Data Table Properties > Source Information
This is after copying to clipboard:
1. Imported data table from data connection.
Connection name: CONNECTION NAME HERE
Path to connection in library: PATH TO CONNECTION
View name: VIEW
Connection type: Google BigQuery
On-demand settings
Column to filter by: ---
Expression: ---
Limited by active filtering scheme: Yes
Limited by: (None)
Update behavior: Manual
Caching allowed: Yes
Data loaded at: 02-Aug-2024 08:32
Is there a way to extract the ‘Connection name’ from this information? Or anywhere else the connection name is stored…