How to remove the Create Order button from customer admin form in Magento 2

- Fire development, Magento 2

Magento 2 Development

In Magento 2, there is an app/code/Magento/Customer/view/base/ui_component/customer_form.xml file with array of buttons. Create Order Button is also there:

Remove the item from an array and the form will be rendered without “Create Order” button. In a custom module customer_form.xml file has to be prepared.

Source: stackexchange question, Max Pronko

More tips from the cookbook