Jump to content

Recommended Posts

Posted

Hello there,

Is it possible to programmatically set the ExternalName property of a calcualted column

For example, I was trying this in a python script but it threw an error:

col=ActivedataTable.Columns["Selected Column"]

ActivedataTable.Columns[col.Name].Properties["ExternalName"] = "Reference Name"

#where "ActivedataTable" is a script parameter that references a data table.

Since calculated columns by default don't have an ExternalName property populated, I was hoping there was some way to set the ExternalName.

I need this in order to have another script dynamically update the column headers in a table visualization. The "Reference Name" will allow me to select the same column while changing its display name.

Would appreciate your help!

- Andrew

  • 2 weeks later...
Posted

Hello,

It is not possible to set the ExternalName (it can only be retrieved in the API).

 

Alternatively you can use the 'Description' property get/set and trigger the required python 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...