Some tasks can’t be carried out by using an extension. The following screenshot shows the addition of a tab to the Action Pane for the FMCustomer form extension, named FMCustomer.myExtension. A Button Group and Menu Item Button have also been added to the Action Pane Tab control. The existing elements in a form extension are shown in italic type, while the changed or added items are displayed in bold type. If a form doesn’t have the needed data sources or fields, you can create a form extension to make the necessary modifications.
Follow these steps to create a form extension and add a new data source:
Locate the form that you want to extend in the Application Explorer window by expanding AOT > User Interface > Forms.
Right-click the form and select Create extension. If this option appears dimmed, you will need to set your project to reference the model that contains that form.
In the Solution Explorer window, right-click your form extension and select Rename. Add a company-specific suffix, such as .myExtension or .abcExtension.
In the Solution Explorer window, right-click your form extension and select Open.
In the Application Explorer window, expand AOT > Data Model > Tables.
Select and drag your desired table from the Tables list to the Data Sources node of the form.
Alternatively, you can select a table from your project in the Solution Explorer window and drag it to the Data Sources node of the form.
Now that you have the new data source added, you can expand the table node and expand the Fields node within it to select and drag fields to the Grid control in the design pane.