SeanHoppe.com > CLEO Tips > Cleo EDI Integrator > Mapping Short Constants to Elements

Mapping Short Constants to Elements

5th November 2016

Outbound

STEP 1:

In the Extol Integrator Main Menu select option ‘5′, Mapping

cleo extol integrator main menu mapping

STEP 2:

In the Mapping Menu select option ‘3′, Work with message classes

cleo extol integrator mapping menu message class

STEP 3:

In the Work with message class panel, put option ‘8′ on the message class you want to map the constant to

cleo extol integrator mapping work with message class

STEP 4:

In the Select message class function panel, put option ‘2′ on the Segment map/element map function

cleo extol integrator select message class function mapping segment element

STEP 5:

Type a ‘5′ in the option field of the segment that houses the element you want to change

cleo extol integrator work with message class segment map

STEP 6:

Type a ‘2′ in the option field of the element you want to populate with a constant

cleo extol integrator work with element map for one segment constant

STEP 7:

In the Element data source/destination field, type C# (# being the desired character-length of your constant)) and press Enter.

cleo extol integrator map constant message class element details

The short constant field appears

cleo extol integrator short constant field mapping message class element map

STEP 8:

Type your short constant into the short constant field and press Enter and confirm your changes.

cleo extol integrator work with element map for one segment

You can verify your changes have been made by looking in the Field/Constant/Accumulator/Counter column to see if your constant is there.

cleo extol integrator map mapping constant accumulator counter


By: on
load('http://www.seanhoppe.com/EXTOL-Blog-Feed2/'); $feed2 = array(); foreach ($rss2->getElementsByTagName('item') as $node2) { $item2 = array ( 'title' => $node2->getElementsByTagName('title')->item(0)->nodeValue, 'desc' => $node2->getElementsByTagName('description')->item(0)->nodeValue, 'link' => $node2->getElementsByTagName('link')->item(0)->nodeValue, 'date' => $node2->getElementsByTagName('pubDate')->item(0)->nodeValue, ); array_push($feed2, $item2); } $limit2 = 5; $rss3 = new DOMDocument(); $rss3->load('http://www.ebithree.com/EBIThree-RSS/'); $feed3 = array(); foreach ($rss3->getElementsByTagName('item') as $node3) { $item3 = array ( 'title' => $node3->getElementsByTagName('title')->item(0)->nodeValue, 'link' => $node3->getElementsByTagName('link')->item(0)->nodeValue, ); array_push($feed3, $item3); } $limit3 = 5; $rss4 = new DOMDocument(); //$rss4->load('http://www.ebithree.com/EBIThree-RSS/'); $rss4->load('http://www.ebiworld.com/EBI-Feed/'); $feed4 = array(); foreach ($rss4->getElementsByTagName('item') as $node4) { $item4 = array ( 'title' => $node4->getElementsByTagName('title')->item(0)->nodeValue, 'link' => $node4->getElementsByTagName('link')->item(0)->nodeValue, ); array_push($feed4, $item4); } $limit4 = 5; echo ' '; ?>