Jump to content

Update a row with different value using Iron Python Script


Zakir Sharief

Recommended Posts

Hi,

I have requirement of changing the current value of a row to different value using Iron Python.

For example: Assume i have row of Amount for any part which i 100 and i wouldlike user to make change to the number to show 200 or something else.

I looked at various tutorial and try to do that, but i was not successful. Also i would like to write back this data to excel.

I would like to do this on a line chart, as my requirement on the data which is modeled, user would like to see if they edit the model data what is the impact etc. (if its not doable on the line chart i can add in the small table to edit in the table and use the table to update the chart

Thanks,

Zak

Link to comment
Share on other sites

  • 4 months later...

use the ReplaceValuesTransformation API or the ReplaceSpecificValueTransformation API in order to replace all the values or a specific value with in the column.

Below are API references,

https://docs.tibco.com/pub/doc_remote/sfire_dev/area/doc/api/TIB_sfire-a...

https://docs.tibco.com/pub/doc_remote/sfire_dev/area/doc/api/TIB_sfire-a...

Below is a sample IronPython script example,

https://community.spotfire.com/wiki/replace-values-data-table-column-tibco-...

Link to comment
Share on other sites

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...