Introduction
The DirectoryMonitor2 ( app) is an add-on module to automate order creation within printIQ. The app is designed to monitor folders (based on configuration), and initiate processing based on files found in the folders. The application imports the data and calls the standard printIQ APIs to create the orders thus making it a less technical approach to calling APIs.
The Quote system interface via the app uses two CSV file layouts; one for Simplified products, and the other for Custom products.
When files are copied into the appropriate processing folder, printIQ process is started by the app, and a new quote generated (if all items are correct).
Requirements
Product Requirement : For Simplified product based order creation, you need to have your Simplified products / SKU’s created in printIQ.
Hardware Requirement : a Windows based PC or server. The folders created on the PC or server need to be accessible (read/write) by the user/process supplying the CSV files.
Installation instructions
- A Zip file will be supplied to you when you order the
DirectoryMonitor2 add-on containing all the files required
- Extract the folder onto a Windows PC in your network that has access to web/internet services and does not get shut down (other than for maintenance/upgrades). Please load onto your c:\ drive
- Start Command Prompt as Administrator
- Enter the following commands in a), b) and c)
- sc create DirectoryMonitor2 binPath=”c:\ CompositeColour_DirectoryMonitor\DirectoryMonitor2.exe” start=auto DisplayName=”DirectoryMonitor2”
- sc start DirectoryMonitor2
- Please advise IQ staff of the external IP Address for this machine (in command prompt use ipconfig to get this information).
- Exit Command Prompt.
- Run services.msc, you should see the Service running if you scroll down the list.
- On the Windows PC, create a folder c:\printIQFiles\SimplifiedCSVUpload (or similar). Please advise IQ staff of the path and folder name created if different to standard.
- Also create a CustomCSVUpload folder in the same path as for Simplified and advise IQ staff of the name if different to standard.
- You will need to create an email address for notifications from the app – Please advise IQ staff of email address detail.
printiq-import-notifications@yourcompanyname.com (.co.country etc)
- Advise IQ staff that setup at your end is complete. IQ staff will then configure the database system for your printIQ instance. Once complete, IQ staff will let you know system should be ready to test.
- CSV templates can be accessed from printIQ Admin Menu, Uploads option. There are Simplified CSV and Custom CSV available.
- Complete the CSV file(s)s to be processed, then drop them into the appropriate folder. If successful, the file will be moved to a completed folder, which the application will create in the processing folder. If not successful, the file will move to a failed folder, and an email will be sent.