Extending standard forms without customization footprint
Adjusting the layout of a form, as an extension, has been made very easy for us. This is covered in the first part of the recipe. We will also cover a new technique to work with form code.
Getting ready
We just need a Dynamics 365 for Operations project open.
How to do it...
To write a form extension for the sales order form, SalesTable
, follow these steps:
- Locate the desired form in the Application Explorer, right click on it and choose
Create extension
. This will add a new form extension to our project. - Locate the new form extension in our project, and rename it so it will remain globally unique, for example,
SalesTable.Con
. - Open the form extension in the designer.
- We can now drag any field or field group, including extension fields that are available to the current package, to the design.
- We can also choose to change properties of the controls on the form's design. The rule here is that, if it lets you change, it will work.
Note
Remember that...