Importing a record definition from an XML data file or XML schema

You can import a record definition from either an XML data file or XML schema. When you import a record definition from XML data, you can also create the flow at the same time.

StepsImporting a record definition from an XML schema

  1. Choose Application Files>Import Definitions>XML>Schema from the main menu.

    The XML Schema Import window displays.

  2. Enter the full path of the XML schema file in the File to Load text box on the Schema Import tab

    or

    Browse for it.

  3. Select Create Records.

    The imported record display on the Schema Import tab.

  4. Exit from the window to return to the main ECMap window.

StepsImporting a record definition from an XML data file

  1. Choose Application Files>Import Definitions>XML>Data File from the main menu.

    The XML Schema Import window displays.

    Enter the name of the XML data file in the File to Load text box on the Schema Import tab or select the button at the end of the text box to search for it. After you have entered or browsed for and selected the XML data file, select Load.

    The program creates record definitions from the XML data file and displays them on the Schema Import tab. The Create Flow button is now active.

  2. Enter the full path of the XML file in the File to Load text box on the Schema Import tab

    or

    Browse for it.

  3. Select Load to import the records.

    The imported record display on the Schema Import tab.

    You can now return to ECMap or continue working on the Schema Import tab to create a map flow based on the XML data.

  4. To create a map flow, select Create Flow.

    A dialog box displays the message: Is XML the primary input for the map?

    NoteYou can only create a flow for an outbound XML map. If you try to create flow for an inbound XML map, a dialog box displays stating:

    Cannot create XML Flow on an ‘Inbound’ Map.
    
  5. Select Yes.

    If flow already exists for this map, the following information displays:

    Flow already exists! Do you want to overwrite?
    
  6. Do one of the following:

    Next, the levels are checked and the following information displays:

    Levels already exist! Do you want to overwrite?
    

    If rules have already been created for this map, you are given the option to choose which rules to keep:

    Make your selection and select OK. The program creates the flow. A message displays telling you that the flow was successfully created.

  7. Exit from the window to return to the main ECMap window.