AX – D365FO – Hide New and Delete buttons in a Form

Want to hide New and Delete buttons of a form?

There are 2 ways

The first is to override the init method of the form like this

    public void init()
    {
        this.form().design().showNewButton(0);
        this.form().design().showDeleteButton(0);
        super();
    }

the other way is to set the “Show Delete button” and “Show New button” properties to NO, like shown in image below

One response to “AX – D365FO – Hide New and Delete buttons in a Form”

  1. Omar Avatar
    Omar

    how to hide Edit button in simple list

    Like

Leave a comment