Reputation: 53
How to create a dialog with browse button(to browse a file) using job in Microsoft Dynamics Ax 2009 with X++?
Upvotes: 1
Views: 3476
Reputation: 11544
Alternatively:
info(WinAPI::getOpenFileName(0, ['TEXT FILE', '*' + '.TXT'], @'C:\', 'Select a file'));
Upvotes: 2
Reputation: 186
Use extended data type FilenameOpen or FilenameSave for the dialog field.
Upvotes: 4