A scripting example to set the Key columns in Spotfire
Introduction
Below is a scripting example to set the Key columns in Spotfire.
Code sample
# Copyright © 2017. TIBCO Software Inc. Licensed under TIBCO BSD-style license. from Spotfire.Dxp.Data import * from System.Collections.Generic import List table = Document.Data.Tables["table1"] primayCol = table.Columns[0] #Primary column .. s = List[DataColumn]() s.Add(primayCol) table.PrimaryKey = s
References
License: TIBCO BSD-Style License
Recommended Comments
There are no comments to display.