Skip to main content Skip to complementary content

Creating the Route

Create a Route with an input file, headers, a cMap component and an output file.

Procedure

  1. Open the Integration perspective, right-click the Route Designs node and click Create Route.
  2. Enter a name, purpose and description for your Route, then click Finish.
  3. Add the following components to your design workspace and link them with Row > Route connections:
    • A cFile
    • A cSetHeader
    • A cMap
    • A second cFile
    Your Route should look like this:
  4. Double-click the first cFile and set the path and file name for your input XML file.

    Example

  5. Double-click the cSetHeader and add the following headers:
    Name Language Value
    "Account_Website" Constant "www.company.com"
    "Account_Phone" Constant "(555)555-5555"
  6. Double-click the second cFile and set the path and file name for your output JSON file.
  7. Double-click the cMap and follow the wizard to generate the map.
    1. In the first step, select the input structure you created in Creating the input structure for your Route and click Next
    2. In the second step, select the output structure you created in Creating the output structure for your Route and click Finish.

Results

The map is generated using the input and output structures previously created. You can now map the elements.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!