Hello,
Is it possible to generate xml files for existing orders without recreating them?
Hello,
Is it possible to generate xml files for existing orders without recreating them?
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
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.
Hi Andrey,
Try the OrderProvider: http://developer.dynamicweb.com/documentation/for-developers/data-integration/providers/order-provider.aspx
Regards, Jonas
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.
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
Do you mean ability to specify XSL file? I thought it is something connected with stylesheets.
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
Thanks, next time I will now how to convert data easier.
You must be logged in to post in the forum