Get started with Model-driven apps customization using code
You can customize Model-driven apps by using tools that are available in the PowerApps portal or that are described in the documentation. These customizations are supported and can be upgraded.
Customizations made using methods other than those described here are unsupported and could cause problems during updates and upgrades to Model-driven apps. For more information, see Unsupported customizations later in this topic.
Topics covered in technical articles published on Microsoft sites such as this one are supported, but might not be upgradable.
Customizations using PowerApps portal
There are a variety of tools included with Model-driven apps that you can use to customize them. Customizations made using the Model-driven apps tools are fully supported and fully upgradeable.
The following customization methods can be used to produce fully supported customizations:
Customization in the PowerApps portal or solution explorer. For more information, see Overview of building a Model-driven apps
Settings in the web application. For more information, see Administer Model-driven apps.
Reporting Services. For more information, see Reporting and Analytics Guide for Model-driven apps.
The behavior of Model-driven apps depend on customizations applied to the associated Common Data Service. More information: Supported Customizations for Common Data Service Fully supported means that developer support can provide assistance for customizations and that application support can help customers running those modifications.
Customizations applied using code
The documentation on this site for developers, technical articles, sample code published on this site, and information released by the Common Data Service Developer Support Team are included in the area of customizations applied using code. The specific actions and levels of supportability and upgradeability are described later in this topic.
Command bar (ribbon) commands: You can use the
Xrm.Utilitymethods within the form via the parent reference.
You can open Model-driven apps forms, views, dialogs, and reports using the methods documented in Open forms, views, dialogs, and reports with a URL.
Modifications to Model-driven apps that are made without using either the methods described in this documentation or PowerApps portal tools are not supported and are not preserved during updates or upgrades of Model-driven apps. Anything that is not documented in this documentation and supporting documents is not supported. Additionally, unsupported modifications could cause problems when you update through the addition of hotfixes or service packs or upgrade Model-driven apps.
The following is a list of unsupported action types that are frequently asked about:
Editing a solutions file to edit any solution components other than ribbons, forms, SiteMap, or saved queries is not supported. For more information, see When to edit the customizations file.
- Defining new solution components by editing the solutions file is not supported.
- Editing web resource files exported with a solution is not supported.
- Except for the steps documented in Maintain managed solutions, editing the contents of a managed solution is not supported.
Displaying an entity form within an IFrame embedded in another entity form is not supported.