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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Get System defined buttons labels

(0) ShareShare
ReportReport
Posted on by 336

Hello AXers :) 

Please i have 1 quick questions:

1 . how can i get the label used on system predefined buttons (New/Edit/Delete),

i'm searching on "SysSystemDefinedButtons" class, on AddNewButton / AddDeleteButton Methods, i found only help text associated to add/Delete

 pastedimage1574697204869v1.png

pastedimage1574698820144v1.png

2. New / Delete buttons are managed by "SysSystemDefinedButtons", AddNewButton/ AddDeleteButtons Methods, and are visible via "ShowDeleteButton" and "ShowNewButton" Form property is the form style permit. 

What about Edit Button (It's managed via "View Edit Mode" Form property) ?

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    299,407 Super User 2025 Season 2 on at
    RE: Get System defined buttons labels

    Hi Adax,

    These labels are control by the platform itself. You can't change them yourself. Can you tell what you want to achieve?

  • AdnDalhi Profile Picture
    336 on at
    RE: Get System defined buttons labels

    Hi André,

    Indeed, all i want is get the label, associated to those System buttons

    (I've modified the original post)

  • André Arnaud de Calavon Profile Picture
    299,407 Super User 2025 Season 2 on at
    RE: Get System defined buttons labels

    Hi Adax,

    What do you need to do with those labels? They are predefined by Microsoft in the so called "kernel".

  • Verified answer
    Sukrut Parab Profile Picture
    71,699 Moderator on at
    RE: Get System defined buttons labels

    You should be able to get label using labeltext method

           FormCommandButtonControl newButton = this.control(this.controlId(#SystemDefinednewButton)) as FormCommandButtonControl;

           Info(strFmt("%1,,newButton.labelText());

    Save/Edit button is systemdefined button and  behavior is controlled through form property you mentioned above and also possible to manipulate it through code.

  • Sukrut Parab Profile Picture
    71,699 Moderator on at
    RE: Get System defined buttons labels

    HI Adax ,

    Do you have any further questions on this ? if not please close this thread.

  • AdnDalhi Profile Picture
    336 on at
    RE: Get System defined buttons labels

    Hi Sukrut,

    Thread closed, thanks for your help :)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,882

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 794 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 525 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans