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

Mapping Substrings

2nd November 2016

To Elements

STEP 1:

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

cleo extol integrator main menu mapping substrings to elements

STEP 2:

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

cleo extol integrator mapping menu  work with message classes substring

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 work with message class

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 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 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 work with element map for one segment

The message class element map details 1 panel appears

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

STEP 7:

Press [F11] to change to the Message class element map details 2 panel

cleo extol integrator mapping substring to element message class element map details 2

STEP 8:

In the Element manipulation code field, type an ‘S’ to indicate this will be a substring. Also place your desired data offset (the position where the substring should begin) in the Data offset field as well as the desired length of the substring in the Mapped length field.

cleo extol integrator map substring to element message class element map details 2

STEP 9:

Press Enter twice to return to the Message class element map details 1 panel and then press Enter again and confirm your changes. Notice an ‘S’ appears next to the value in the Source/destination column, signifying the substring on the element

cleo extol integrator map substring to element 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 ' '; ?>