≡ Menu

File load dialog in Dynamics Ax 2012

Some times we have to load files into dynamics Ax. Following X++ code helps to load files in Dynamics AX.

Dialog _dialog;
DialogField _file;

//Prompt to import excel
_dialog = new Dialog(“Please select the file to load”);
_dialog.addText(“Select file:”);
_file = _dialog.addField(ExtendedTypeStr(“FilenameOpen”));


if (_dialog.closedOK())
info(_file.value() );

File load


{ 0 comments… add one }

Leave a Comment