Ahmad Nuirat 2 Posted October 12, 2023 Share Posted October 12, 2023 set data table property using ironpython Link to comment Share on other sites More sharing options...
Fredrik Rosell Posted October 12, 2023 Share Posted October 12, 2023 Hello, If the question is how to set a data table property, you can basically just do the following: Document.Data.Tables["Your Data Table Here"].Properties["Your Data Table Property Here"] = "New Value" Example: from Spotfire.Dxp.Data import * myProperty = "propDataTable" myDataTable = "smalldata" newPropertyValue = "a new value" table=Document.Data.Tables[myDataTable] myProperty = "propDataTable" print ("Current Property Value = " + table.Properties[myProperty]) table.Properties[myProperty] = newPropertyValue print ("New Property Value = " + table.Properties[myProperty]) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now