Is it possible to use the Import API to execute an Update Impex programmatically? Currently I must log into HAC and execute an update Impex using the web interface which is tedious.
Asked
Active
Viewed 448 times
1 Answers
2
The DefaultImportService has a method called importData. This method needs an ImportConfig object as a parameter.
In this ImportConfig you can set the way you want to run your Impex(like in hac, for example you can choose to run the impex in legacy mode) and you can set the script that will be run also(i.e setScript(ImpExResource script)).

dj_frunza
- 1,553
- 3
- 17
- 28