Imagine you wrote an awesome app which customized and extended Dynamics 365 for Customer Engagement, how would you package it for distribution?
Introducing Solutions in Power Apps
Solutions are containers to track the changes you make to Power Apps, Microsoft Flow (now called Power Automate) and the Common Data Service. Solutions are also how you transport and install changes to target environments.
Microsoft Dynamics 365 apps are installed using solutions. Third party apps provided by Independent Software Vendors (ISVs) also use solutions.
In Power Apps, solutions are leveraged to transport apps and components from one environment to another or to apply a set of customizations to existing apps. A solution can contain one or more apps as well as other components such as entities, option sets, etc. You can get a solution from AppSource or from an independent software vendor (ISV).
Types of Solutions
- Used during development
- Used to transport to other development environments
- When the unmanaged solution is complete and you want to distribute it, export it and package it as a managed solution
- Used to distribute to non-development environments
- A managed solution is a completed solution that is intended to be distributed and installed
Solution components are categorized to track the individual items associated with the solution and there are more than 25 component types. Component types include entities, apps (model and canvas), Microsoft Flows (now called Power Automate), security components as well as developer assets. Some components are sub-components; forms, views, charts, and fields are all sub-component of entities. Reference data, however, is not included as a solution component.
Managed Solution LifeCycle
Let’s dive into an example of how quickly you can package your app/component as a solution:
1. Sign in to Power Apps and select Solutions from the left navigation.
2. Select New solution and then complete the required fields for the solution.
3. Enter Encore Device Order for Display Name and click on the Publisher dropdown.
4. Enter Encore Business Solutions for Display Name, enter ebs for Prefix and click Save and Close.
5. Click on the Publisher dropdown and select the publisher you created.
6. Enter 0.0.0 for Version and click Create.
7. Click to open the solution you created.
8. Next, we are going to add the existing canvas app into our empty solution. Click Add Existing | App | Canvas App. Add Existing is how you bring in assets that already exist and associate them with your current solution container.
9. Under Outside solutions, select your canvas app and click Add:
The solution now has the canvas app which can be installed to a different environment as a Managed solution.
Note: The solutioning experience is available only online and for environment version 126.96.36.1997 and later. To check your version, please go to Power Apps admin center> Environments > select your environment > Details tab. For earlier version environments, selecting a solution opens it in the classic experience. Go here to read about known limitations.
Get 10 pieces of content that will help get you up to speed on what the Power Platform is all about! The Power Platform includes Power BI, Power Apps, Power Automate, and Power Virtual Agents.'