SysImport without confirmation dialog

If you run a something like the following, you'll be met with a confirmation dialog for existing elements.

private void importAOT(str fileName)
   SysImportElements sysImport = new SysImportElements();


This is of course not desirable if you are trying to write some kind of automated task. Change the sysImport.import statement to this:
sysImport.import(#impRemoveExcess | #impIgnoreCheckStatus);

The macros are located in AotExport.

This posting is provided "AS IS" with no warranties, and confers no rights.

Skip to main content