File Watcher

File Watcher is a plugin designed to import various file types as transactions in Jiwa.

The file watcher plugin is run by the Jiwa Plugin Scheduler Service.  However, it doesn't run on a schedule, it runs all the time and watches defined folders in the file system for new files.

E.g. C:\ProgramData\Jiwa Financials\Jiwa 7\Import

When a new file is encountered in the Import folder it is processed and moved to another folder, say \Succeeded, depending on the outcome of the process.  The plugin itself will create these folders.  The user doesn't have to.

The standard File Watcher plugin caters for XML files and csv files. It can be amended to cater for others.

When an XML file is imported, the treatment of that file is defined by the document attribute in the header of the XML file.

E.g. for a Sales Order XML file



For a Quote XML file





An XML file can be imported wherever you can see XML Import as an option on the Utilities tab of a Jiwa form.

The easiest way to work out what the XML document attribute should be for that form is to XML Export an existing one, and examine that.