web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to rename dialog ok button to Import

(0) ShareShare
ReportReport
Posted on by 435

Hi all,

I will use my custom class to get file name via dialog Field.I want to change ok button name to Import.

How to achieve this.

8311.1.JPG

Thanks.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mea_ Profile Picture
    60,286 on at

    Hi Edselv Evert,

    Please check this blog post microsoftdax.blogspot.co.nz/.../modify-label-of-runbase-ok-button.html

  • Martin Dráb Profile Picture
    238,769 Most Valuable Professional on at

    That this is how dialogs look like and you surely don't want to change all dialogs in AX, therefore consider if it's reasonable changing your single dialog.

    I would leave the button as it is and change the caption ("My Dialog") and the field label ("FileName") to something explaining what will happen when the dialog is confirmed (by pressing OK). You can also change the HelpText (currently "File path and name").

    If you insist on the change, please tell us how you create the dialog.

  • Edselv Evert Profile Picture
    435 on at

    Hi ievgen,

    This is ok for dialog scenario.

    Now i want to rename the Box::ok button to 'Continue'.

    70255.2.JPG

    Please suggest.

    Thanks.

  • Martin Dráb Profile Picture
    238,769 Most Valuable Professional on at

    The method is called ok() because is shows OK button. If it did something else, the name would be misleading.

    You can build your own method creating a dialog with Continue, if you insist.

  • Edselv Evert Profile Picture
    435 on at

    Hi Martin,

    I can't get your point.

    Is this possible to rename box 'ok' button to 'continue'.

    Thanks.

  • Martin Dráb Profile Picture
    238,769 Most Valuable Professional on at

    Not "rename", but you can create your own dialog with "Import" and "Cancel" or something like that, but don't try to put it into the Box class, because it's not something general-purpose like OK/Cancel and Yes/No.

    But seriously, I think you're wasting time with something you shouldn't be trying to change in the first place. Respect how AX works and what user will get at all other places.

  • Suggested answer
    cowboyott Profile Picture
    204 on at

    This can easily be done.  timsaxgrind.blogspot.com/.../renaming-dialogs-ok-button.html

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Sagar Suman Profile Picture

Sagar Suman 2 Super User 2026 Season 1

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans