Jump to content
We've recently updated our Privacy Statement, available here. ×
  • How to embed data tables in Spotfire® using IronPython scripting


    Using the DataTableSaveSettings API we are able to set any given data table as embedded or linked to source. Below code snippet shows the same.

    Introduction

    Using the DataTableSaveSettings API we are able to set any given data table as embedded or linked to source. Below code snippet shows the same.

    # Copyright © 2017. TIBCO Software Inc.  Licensed under TIBCO BSD-style license.
    
    from Spotfire.Dxp.Data import DataTableSaveSettings
    
    for table in Document.Data.Tables:
        settings = DataTableSaveSettings (table,False, True);
        Document.Data.SaveSettings.DataTableSettings.Add(settings);
    
    print "Done"
     

    References

    License:  TIBCO BSD-Style License

     

     


    User Feedback

    Recommended Comments

    There are no comments to display.


×
×
  • Create New...