Hi, The source for all my OFBiz products is a 3rd party system.
I had in mind the following : 1) Extract the products from the 3rd party system and convert the xml document via xmlbeans into a java object. 2) Navigate the object structure and write out a flat file that can be loaded via the Data File Library into the OFBiz database. 3) Trigger the load of the flat file automatically once writing to the flat file is complete. I could always have a go at writing product directly to the database, which would give me more flexibility. At the moment however, it seems like more work and time is of the essence. My questions are as follows : Is there an xsd file that describes the data requirements for loading product data via flat files ? What happens if the same product is loaded more than once via the Data File Library into the same OFBiz database ? What about product attributes, categories etc ... ? Is this defined the xml file definitions / xsd ? I might want to load all my product into a default category. I imagine with a bit of code I could trigger the flat file load automatically ? Unfortunately the XML File Definitions (Documents Page)<http://ofbiz.apache.org/documents.html#XMLDefs>link as defined http://ofbiz.apache.org/docs/datafile.html returns a "404 Not Found". And finally has anyone out there attempted something like this ? Regards Grant Edwards PS : If there is more documentation in the "Data File Library" please point me in the right direction.
