::tm1fileoutput
Write a table from Google Sheets to a delimited file on the IBM Planning Analytics server. Use this task when an existing TurboIntegrator (TI) process reads a text file for validation, transformation, or loading.
Set up the task
Choose File output task in TeamOne Configuration. Set -sheet to the source tab and -file to the filename or path relative to the server’s TM1 data directory. Use the file path and delimiter expected by the process that reads the file.
| Option | What it controls |
|---|---|
-sheet | Required. Name of the tab to export. The current task reads from cell A1. |
-file | Required. Output file path relative to the TM1 data directory. |
-tm1env | Connection to the server that receives the file. Defaults to the connection selected in the sidebar. |
-columns | Number of columns to include. Leave it blank or set it to 0 to include all used columns. |
-delimiter | Character between fields. Defaults to a tab. |
The current task starts at A1 and includes every row through the last row with content. The configuration also shows -startRow, -startColumn, and -rows, but the current add-on ignores those settings. To export a smaller range, put just the rows and columns you need on a dedicated source tab.
See Common options for task descriptions and visibility.
Example
To create a tab-separated file from Forecast Export, add these rows to .TEAMONE. This example uses the default delimiter.
| Column A | Column B |
|---|---|
::tm1fileoutput | Export forecast file |
-sheet | Forecast Export |
-file | forecast_upload.txt |

If a TI process should read the file as soon as it’s ready, put the file output task first and the process task second in a task group. See the sample spreadsheet for another setup.
