Developer forum

Forum » Integration » ReExport Orders to XML

ReExport Orders to XML

Andrey Kozachuk
Reply

Hello,

Is it possible to generate xml files for existing orders without recreating them?


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply
This post has been marked as an answer

Hi Andrey,

Yes, you can. You can use the Data Integration Framework to export your orders: http://developer.dynamicweb.com/documentation/for-developers/data-integration/how-to-export-data/in-general.aspx

Cheers,

Imar

Votes for this answer: 1
 
Andrey Kozachuk
Reply

Hi Imar, thank you for your answer. Unfortunettely, there is everything but not orders in the list of source tables of Ecom provider. I tried to use SQL provider as a source, but format of resulting XML is different from what is automatically created by DynamicWeb. Maybe, manual creation of XML files (I have 33 order records) will be faster.

 
Jonas Krarup Dam
Reply
This post has been marked as an answer

Hi Andrey,

 

Try the OrderProvider: http://developer.dynamicweb.com/documentation/for-developers/data-integration/providers/order-provider.aspx

Regards, Jonas

Votes for this answer: 1
 
Andrey Kozachuk
Reply

Thanks Jonas, indeed I didn't notice Order provider in the list. But resulting XML format was still different.

I ended up by making a tool that convert files obtained from Data Integration module to original format.

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Did you see you can specify an XSLT file to convert the data? That way, Dynamicweb creates its own XML first and then runs the XSLT transformation to generate whatever format you need.

Imar

 
Andrey Kozachuk
Reply

Do you mean ability to specify XSL file? I thought it is something connected with stylesheets.

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Yes, XSLT is a style sheet language, but not for CSS ;-) You can use it to transform data. In the case of Dynamicweb, it can be used to transform Dynamicweb's export XML to your own format.

More info: http://www.w3schools.com/xsl/

You can specify the XSLT file in the Destination screen when you choose the XML provide.

Cheers,

Imar

 
Andrey Kozachuk
Reply

Thanks, next time I will now how to convert data easier.

 

You must be logged in to post in the forum