It looks like you're new here. Sign in or register to get started.
DefaultFileName := Setup."Eksport path" + '\*.xml'; FileName := CDM.OpenFile(WindowTitle,DefaultFileName,DefaultFileType::Custom,FilterString,Action::Open);
Comments
Take a look on codeunit 412 "Common Dialog Management" - here you will find the function OpenFile.
This function opens a windows, where you can select a file.
Just use a code similar to this:
For example, if you want to use the code on a Form, then simply add it to OnAssistEdit() for the field that should contain the XML filename.
My techblog
Meet me @ LinkedIn