V the Following Script Demonstrates How to Export a Coach Table As an Excel File

Total Page:16

File Type:pdf, Size:1020Kb

V the Following Script Demonstrates How to Export a Coach Table As an Excel File

1 Introduction  Often times a table in a Coach contains information that the user would like a local copy in a format such as CSV or Excel.  The following script demonstrates how to export a Coach Table as an Excel file.

2 Table Export Script  Please follow the steps mentioned below in order to use this your application,  Drag 'Custom HTML' component from your coach palette.  Copy paste the script mentioned below.

Export

 Modify the information mentioned in the line 5. var tableIdsToExport = "Table0,Table1"; Note: provide a comma delimited list of the ids of the tables that you want to include in the excel export.  It shall display Excel export icon on the coach.  Once user clicks on the icon it exports all the table information in to a CSV file.

Recommended publications