Creating CSV and Excel Files for Gateway

Data can be sent to a destination application using the File provider in a CSV, Excel (xls or xlsx), or XML file.

Depending on how you want to organize the data within the CSV or Excel file, select any of the following options to create a CSV file:

For detailed examples of a CSV file, see the File Provider Setup Guide.

Note: Any user can create a CSV or Excel source file, however the processing of these files in Gateway will be determined by the user's role in Primavera Gateway.

A CSV or Excel format file that is to be consumed by Primavera Gateway must be specially formatted to contain specific indicators. Indicators are containers of the data represented in the csv file. Gateway uses these indicators as markers to read and write the data contained within these indicators.

The following types of indicators are supported in a csv format file for Gateway:

Indicator

Indicator Name

Description

Required?

ON

Object

The Object (ON) Indicator represents the name of the provider object in the CSV file. The first column of the spreadsheet must always contain the indicators.

A parser or generator will search for a row labeled 'ON' to begin reading or generating a file.

Note: A csv file must contain at least 1 object row (ON).

Yes if you use the Default Parser or Default Generator in the synchronization.

No if you use any other parser or generator in the synchronization.

FH

Field Header

The Field Header (FH) Indicator represents the fields contained in a provider object. Each ON indicator must be followed by an FH indicator.

For example, a Role object containing two fields, ID and Name.

Yes

DR

Data Row

The Data Row (DR) indicator contains the values of the fields of the provider object.

Yes

AR

Attachment Row

The Attachment Row (AR) Indicator represents a file attachment included with the provider object. The attachment can be any file format. For example, pdf, docx, doc, png, etc.

No

The file content is processed in Gateway using parsers and generators during a synchronization. For detailed examples of CSV or Excel files that can be processed in Gateway, see the File Provider Setup Guide.

Step me through...

Setting Up Gateway to Support CSV Files: Example



Legal Notices | Your Privacy Rights
Copyright © 2013, 2022

Last Published Thursday, October 6, 2022