We have written a codeunit to import via xmlports that have been defined. RequestPage is set to false, and and initial FileName is specified in the properties of the XMLPorts. The codeunit reads the import folder and imports the files, one at a time. Our problem is that although we have set the FileName on the OnInitXML and OnPreXML, the system stills pops up a window for each file asking the user the Choose the file.
If there are 20 or 50 files this user input becomes problematic. Is it possible to avoid the user having to choose a file each time, and if so, how?
Regards - Noeline