Code sample snippet to validate if a given data table is linked to source or embedded.
Introduction
Below is a sample snippet on how to validate if a given data table is linked to source or embedded.
Code Sample
# Copyright © 2017. TIBCO Software Inc. Licensed under TIBCO BSD-style license. from Spotfire.Dxp.Data import * table=Document.Data.Tables["BASEBALL"] found,tableSettings=Application.Document.Data.SaveSettings.TryGetDataTableSettings(table.Id); if found and not tableSettings.UseLinkedData : print "Table is embedded" else: print "Table is Linked"
References
License: TIBCO BSD-Style License
Recommended Comments
There are no comments to display.