Jump to content

How to update file path or location property using API or Ironpython script


Vijesh

Recommended Posts

Hello Spotfire Team,

How can we change the location of a file in spotfire using API or Ironpython script. For example we loaded a case.csv file from local path as "C:\case_data\case1\case.csv".

The scenario is we have multiple cases i.e within case_data folder we have case1, case2, case3....case n folders and within each folder the csv file name is case.csv. Now we want to read/load the case.csv files dynamically from different folders . For example if we want to read/load case.csv file in case2 folder, the file path/location mut change to "C:\case_data\case2\case.csv" dynamically.  

How can we change the location of the file using spotfire API or Ironpython script

image.png.6ad55dc1e8f75a38b62cb5c4e368c4e7.png

Thanks,

Vijesh

 

 

Edited by Vijesh
Link to comment
Share on other sites

  • Vijesh changed the title to How to update file path or location property using API or Ironpython script

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...