Developer forum

Forum » CMS - Standard features » Editing Data Integration Job xml file causes it to break

Editing Data Integration Job xml file causes it to break

Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi,

 

I noticed and as soon as I try to edit a data integration job, it no longer works. https://www.screencast.com/t/Y449E3JRI0K

 

I tried it locally using Notepad, Notepad++ and our IDE, with similar results. As soon as we open and save the file (even with no changes), Data Integration no longer recognizes it.

 

The reason I wanted to do this was to use the config node https://doc.dynamicweb.com/documentation-9/integration/data-integration-module/integration-providers/xml-provider#5448, which I obviously can't.

 

Best Regards,

Nuno Aguiar


Replies

 
Morten Bengtson Dynamicweb Employee
Morten Bengtson
Reply
This post has been marked as an answer

Hi Nuno,

I think the problem is related to file encoding.

The data integration job xml files are saved with UTF-16 encoding.
You should either make sure that your text editor doesn't change the encoding or you should change/remove the encoding attribute in the xml file.

<?xml version="1.0" encoding="utf-16"?>

Best regards,
Morten

Votes for this answer: 1
 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Morten,

 

Sure thing it worked if I edit using the Notepad. I was using Notepad++ and DW's editor and they both fail. Hopefully that's a quick fix (at least in DW's editor).

 

Best Regards,

Nuno Aguiar

 

You must be logged in to post in the forum