How to add new attribute for CSV file and how/where to update the code of the hot-folder process?
Hybris Update Hot-Folder Process
9.1k Views Asked by rosp At
2
There are 2 best solutions below
1
On
There is a hybris Trail you can follow which explains in detail which steps need to be undertaken for a hot folder configuration:
https://wiki.hybris.com/pages/viewpage.action?pageId=294094383
You can see how to define filenames, directories, time intervals and so on.
In the Hybris
Hot Folderprinciple, we convert aCSVfile to anImpExfile using the specific header that can be configured using Spring Integration logic.Files to update/configure:
To specify/add/update the configuration of your
Hot Folderlogic/header look for a file named something likehot-folder-spring.xmlin thehot-foldercustom extension.What to add :
Add your attribute in the
ImpExheader of your type located inhot-folderconfiguration file, something like :Note: