The following is an example of a csv source file that can be sent from the File provider to Unifier in Gateway using the Default Parser to read the content of the csv file. Any user can create a CSV file for Gateway. The file contents include:
- A provider object: Role.
- Two fields contained in the Role object: Id and Name.
- Four values for each field.
- A pdf attachment, custom.pdf
- Notes:
- If you choose to create and use an additional parser such as a Role Parser to read the Role object, then create the csv file using only the FH, DR, and AR indicators.
- If you choose to include an attachment (AR) in the CSV file, do not set up a File deployment in Gateway using the File Upload method. The File Upload method does not support attachments.
Create a csv source file for the Default Parser using indicators as follows:
- Enter data in the rows and columns of the spreadsheet as shown below.
- Save as Roles.csv:
| A | B | C |
---|---|---|---|
1 | ON | Role |
|
2 | FH | Id | Name |
3 | DR | 1000 | Application Developer |
4 | DR | 2000 | Business Analyst |
6 | DR | 3000 | Project Manager |
7 | DR | 4000 | QA Analyst |
8 | AR | custom.pdf |
|