Open Forum

Like what you see? Discover the benefits of the D365UG/AXUG Community. Learn More

1.  DMS UDT question

SILVER CONTRIBUTOR
Posted 6 days ago
​We are trying to our maps to parse out the following character string. 
 Here is the actual XML tag set.
<name _="Plant 3*-&#xA;"/>

Within AX, it is from the use of the Enter key in a multiple line field on a form.

I have tried character and string replacement logic in the Tokens.

I would appreciate any suggestions.

------------------------------
Nick Mart
developer
Winnebago Industries
Forest City IA
------------------------------


2.  RE: DMS UDT question

Posted 5 days ago
​Nick - In the UDT you should be able to obtain the data via Xpath, store it in a variable, and then perform typical replacement logic to clean up or parse the result. 

Your message states you have tried this so I am​​​ probably missing something.  There are alternatives as well you can utilize to remove the carriage return/line feeds prior to the map.  I will contact you to discuss.

------------------------------
Steve Massey
Data Masons
Sarasota FL
------------------------------



3.  RE: DMS UDT question

SILVER CONTRIBUTOR
Posted 5 days ago
​I discovered the issue. In my map, I was parsing the ampersand in a previous step. I changed the sequence to get the results desired.

------------------------------
Nick Mart
developer
Winnebago Industries
Forest City IA
------------------------------