DocumentToRecord issue

We are using SAP Business Connector version 4.6.

Login
Ls
Loop over ‘/dirlist’
–>get
–>bytesToString
–>stringToDocument
–>documentToRecord

In documentToRecord, I have mapped the boundnode from service out to a record. I do not see the data in this record though I see all the fields of the record. When, I debug I do see the data until I hit the documentToRecord step.

I appreciate your immediate help. Is there a bug in documentToRecord, or am I missing something here? I played around with different parameters of documentToRecord (arrays, makeArrays, recordName) without any luck.

PLEASE HELP :frowning:

Regards,
Roger

Roger,

Assuming the file your reading is an XML document you need to set the isXML parameter to “true” on the stringToDocument step.

Mark

Mark,
It worked. Thanks for your help.

Regards,
Roger

Roger,

If I had a nickel for every time, I’ve made that mistake I wouldn’t have to do WM architecture projects any longer!

Someone with a spare minute or two might submit a feature request to make “true” the default value for “isXML”.

Mark