Skip to content

::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.

OptionWhat it controls
-sheetRequired. Name of the tab to export. The current task reads from cell A1.
-fileRequired. Output file path relative to the TM1 data directory.
-tm1envConnection to the server that receives the file. Defaults to the connection selected in the sidebar.
-columnsNumber of columns to include. Leave it blank or set it to 0 to include all used columns.
-delimiterCharacter 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 AColumn B
::tm1fileoutputExport forecast file
-sheetForecast Export
-fileforecast_upload.txt

File output task with the source sheet and server file path

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.