Developer forum

Currently discussing: Plans to implement a Consent module for GDPR compliance.

Join the discussion!

Forum » Integration » XML Provider Export generate file every time

XML Provider Export generate file every time

Allan Have Jakobsen
Reply

Hi

I've setup an export job of orders, with SQL Provider as source and XML Provider as Destination, I have a xsl that format the xml.

Every time I run the job I get a xml file, even if there is no rows from the source.

Is there anything I can do to prevent creating "empty" (the xml contains a empty root element) files then where is nothing from the source ?

I'm testing on version 9.3.8

Replies

 
Jonas Krarup Dam
Reply

Hi Allan,

There isn't currently a way to do this.

If you are willing to add custom code, A simple way to achieve this, would be to create a notification subscriber that runs after the integration task is completed, and deletes the file if it is empty.

Regards, Jonas

 

You must be logged in to post in the forum