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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Command Button

(0) ShareShare
ReportReport
Posted on by 6,648

Hi Guys,

I am handling the command button for the first time, and I found a variety of choices like ;

Home: 4403

New: 260

Company: 276

Actually, I am trying to fix why the 'New: 260' configured for an existing button is not working.  So, my questions are :

1- Is there a document describing the effect when choosing a certain command?

2- Is there a way to see the source code being called when triggering a certain command?

3- Can I create the logic for a new command and let it be selectable for a new command button?

4- How does it works (for example New: 260)?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    Your button must reference a data source, otherwise it can't create new records. Please check that your button is in a button group that has Data source property set. And AllowCreate on the form data source must be Yes.

    Not all commands work everywhere.

    1) Not that I know of

    2) Not that I know of - the commands are triggering framework events

    3) To my knowledge, no

    4) Please see my answer above

    Examining the existing command buttons on standard forms, and trying with trial and error, are good ways to learn more about the commands.

  • Hossein.K Profile Picture
    6,648 on at

    Hi Nikolaos,

    Your answer solved my problem.

    Because I want to know others' ideas, I will mark you later.

  • Hossein.K Profile Picture
    6,648 on at

    Any idea?

  • Hossein.K Profile Picture
    6,648 on at

    Have another idea?

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans