In order to bring up browse, I do the following:
XMLPort Property UseRequestPage is Yes.
Request page has an entry for ImportFile, a variable. The property AssistEdit for this is set to Yes.
In the OnAssistEdit() event handler for ImportFile I have:ImportFile := FileMgt.OpenFileDialog('File',ImportFile,'csv|*.csv');currXMLport.FILENAME := ImportFile;
At runtime, this brings up the Request page with a text box with the ellipsis after it. The ellipsis allows you to go to the Browse pop-up.
After you select a file and clicks OK, it again brings up the Browse pop-up.
I have played with this for a couple of hours. I either get no Browse pop-up at all or two. How to get just the one?
File selection functionality is built-in into XMLports, you don't have to write any soecial code for it. Just create an XMLport object and run it - NAV platform will show the file dialog after you click OK in the request page.
But how does it happen that you have no file browse dialog?