Documentation

How to install EDI templates

Article author
Admin
  • Updated

This is an easy-to-follow step-by-step guide on how to install EDI templates as C# files.

This article is applicable only to the paid version. For the trial, please go to the How to Create a New Project from Scratch article.

  1. Create a new library project for your target .NET version:

  2. Install the purchased EdiFabric package and add references to System.Runtime.Serialization and System.Xml.Serialization (.NET Framework only):

  3. Add your EDI template(s) to the project as "Existing Item"; only the one(s) you need, for example, HIPAA 5010 271. Add all common files, such as Segments.cs, Codes.cs, ComplexElements.cs,SegmentInterfaces.cs and ComplexElementInterfaces.cs to the project as "Existing Item":

    edifabric-templates-project-new.png

  4. In your startup application, Install the purchased EdiFabric package.

    Add a project reference to the class library project you created in step 1:

    edifabric-console-project-new.png

  5. Use EdiReader (either X12Reader or EdifactReader) to translate your sample EDI file

Share this:

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.