Revathi
Revathi

Reputation: 53

How to create a dialog with browse button using job in Axapta X++?

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

Answers (2)

Alex Kwitny
Alex Kwitny

Reputation: 11544

Alternatively:

info(WinAPI::getOpenFileName(0, ['TEXT FILE', '*' + '.TXT'], @'C:\', 'Select a file'));

Upvotes: 2

JorisdG
JorisdG

Reputation: 186

Use extended data type FilenameOpen or FilenameSave for the dialog field.

Upvotes: 4

Related Questions