Use sample files
There are four examples in the mapping subdirectories of Samples\DemoMapping directory named AutoXmlMapping, GenericMapping, SimpleMapping and SimpleMappingManual; and a matching Kofax Capture batch class in the KfxSampleXmlMappingbatch.cab file.
To install these samples on your test environment:
- Import the KfxSampleXmlMappingBatch.cab class to your Kofax Capture and publish it.
- Add the corresponding XML type to the KC Plug-In (XML type is comprised by the xsd schema and xml sample files in the corresponding mapping subdirectory - except for the XML Import Connector compatible example, where the build-in XML type is used).
- Add a destination to KC Plug-In where the mapping should occur. Configure it correspondingly (do not forget to set it batch class to “KfxSampleXmlMappingBatch”) and click Show files for Visual Designer in the Import mappings tab. Copy all files from the Samples\DemoMapping\<MappingType>XmlMapping\Sample<MappingType> to this directory (except for the XML Import Connector compatible example, where the build-in XSL transformation is used).
- As the simple input data, use the provided sample XML file and the page002.tif file from the corresponding mapping subdirectory. You can also write your own “real” customer input XML data file (in case of folder input driven by the trigger file, use the provided trigger file).