IPWorks X12 2020 JavaScript Edition

Questions / Feedback?

LoadSchema Method

Loads a schema file describing a Transaction Set.


async x12writer.loadSchema(fileName : string): Promise<void>


This method parses the File and loads it into an internal schema list. The class will attempt to automatically detect the SchemaFormat.

If the schema file does not exist or cannot be parsed as an EDI schema, the class fails with an error.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks X12 2020 JavaScript Edition - Version 20.0 [Build 8262]