SeanHoppe.com > CLEO Tips > Cleo EDI Integrator > Mapping Substrings

Mapping Substrings

1st November 2016

To Fields

STEP 1:

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

cleo extol integrator main menu mapping substrings to fields

STEP 2:

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

cleo extol integrator mapping substring to field mapping menu

STEP 3:

In the Work with message class panel, put option 8 on the desired message class and press Enter

cleo extol integrator mapping substring to field work with message class select function

STEP 4:

In the Select message class function panel, type a ‘2′ on the Segment map; element map option column and press Enter

cleo extol integrator mapping substring to field select message class function segment map element map

STEP 5:

In the Work with message class segment map panel, type a ‘5′ in the option field of the segment that houses the element you want to change

cleo extol integrator mapping substring to field work with message class segment map

STEP 6:

In the Work with element map for one segment panel, type a ‘2′ on the element that needs the substring and press Enter

cleo extol integrator mapping substring to field work with element map for one segment

The Message class element map details 1 panel appears

cleo extol integrator mapping substring to field message class element map details 1

Press [F14] to bring up the Change message class field map details panel

cleo extol integrator mapping substring to field change message class field map details

STEP 7: Type an ‘S’ in the Field manipulation code field to denote this is a substring. Type your desired Data offset and mapped lengths in their appropriate fields

cleo extol integrator mapping substring to field change message class field map details

Press Enter twice to return to the Message class element map details 1 panel. Press Enter and confirm your changes. 

Notice an ‘S’ appears to the left of the field you mapped the substring to, signifying a substring is mapped to this element

cleo extol integrator mapping substring to field work with element map for one segment


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 ' '; ?>