Hi,
How can I re-create the XML that this xml package produces (notification.adminneworder.xml.config) ?
Is that code exposed?
version 8 w/o source.
Hi,
How can I re-create the XML that this xml package produces (notification.adminneworder.xml.config) ?
Is that code exposed?
version 8 w/o source.
What exactly are you wanting to 're-create'? You can modify the XML package without source code, but if you're wanting to change the XSLT methods that it uses - that would require source.
I want to create another webpage, that will output the XML that the xml package generates (given the order# as a querystring parameter)
Possible?
See the receipt.aspx/cs page, it looks like you're trying to achieve the same page. Should be a good starting point. Just mimic it and modify depending on the layout you want to achieve. That page uses the Notification.receipt.xml.config XMLPackage by default.
Ok looks like I can call RunXmlPackage and call the "dumporder' package to get the xml correct?
Would it be possible to call the DumpOrder xml package instead of the notification.adminneworder.xml.config?
i.e. when a new order comes in, send an email to the store employees (whichever email address is currently being used to send when the notification.adminneworder.xml.config is fired) and send them the xml package dumpOrder?
Can I do this? if yes, how?
DumpOrder is a different kind of XML package used for WSI, that's not going to work well for an email.
What exactly are you trying to do here? If you're just wanting to get more information about the order than the standard notification, it doesn't take all this work. Change the XmlPackage.NewOrderAdminNotification AppConfig to notification.receipt.xml.config and the full receipt will be sent instead of the little admin notice.
The client wants the XML dump of the order in the email, nothing else. (in the neworderadmin email).
So they can cut and paste it or something similiar.
And the XML should show up as XML, not in a HTML email where the xml nodes are not visible.