BLOB Fields Import/Export in a XML File

Has anyone an Idea how to Import or Export a BLOB Field in Navision 4.0 (which contains a Word Document) in a XML File.

You have to encode the BLOB with BASE64. I know that there is a function for this in Navision 4.0 but I didn’t found them.

Look at Codeunit 99008516 - BizTalk XML DOM Management. Function ‘AddPicture’ converts a BLOB to Base64 encoding and adds it to an XML doc… Function ‘GetPicture’ converts a Base64 encoded DOM node to binary and imports it into a BLOB.