Creating a flat file Schema using Flat File Schema Wizard - Comma delimited flat file
Introduction
In this blog post, we will try to understand how to create a flat file schema using a flat file schema wizard.
Steps
- Let's use the flat file below to generate the schema.
Invoice Number,Date,Customer Name,Customer Address,Item Description,Quantity,Unit Price,Total
INV-2023-001,2023-09-23,John Doe,123 Main St,Product A,5,10.00,50.00
INV-2023-002,2023-09-24,Jane Smith,456 Elm St,Product B,3,15.00,45.00
INV-2023-003,2023-09-25,Bob Johnson,789 Oak St,Product C,2,20.00,40.00
- Create a new BizTalk project and solution and name it POCFlatFileSchema
- Right Click on the project --> Add New Item
- First we need to define the records and then elements within the record. The schema wizard will walk us through the process. Select the first record as shown below and click next
Invoice Number,Date,Customer Name,Customer Address,Item Description,Quantity,Unit Price,Total¶«
Give a name of the record and the element type should be record
- Each element should be delimited by a comma. That is why we have selected the child delimuter as comma
Click on Finish
- Save the schema
- Now let's validate the schema
- Validation is successful
Comments
Post a Comment