Changes

1,272 bytes added ,  13:59, 3 December 2021
no edit summary
Line 1: Line 1:  
Solutions are a part of the [[ALM]] for the Power Platform. Use solutions in order to gather different parts such as entities, apps, flows etc. and move those artifacts between environments.  
 
Solutions are a part of the [[ALM]] for the Power Platform. Use solutions in order to gather different parts such as entities, apps, flows etc. and move those artifacts between environments.  
  −
Solutions can be devided into managed solutions and unmanaged solutions.
  −
  −
Solutions is a concept which comes from the Microsoft Dynamics CRM platform. Over the years there have been different opinions in the community whether to use managed solutions or not. According to Microsoft unmanaged solutions are intended for development environments only and managed solutions are intended for all other environments such as test and production.
      
== Solution Concepts ==  
 
== Solution Concepts ==  
 
Using Solutions you can start with your app development in a Development environment, then move to a Test and eventually to Production. Also see [[Environment Strategy]].
 
Using Solutions you can start with your app development in a Development environment, then move to a Test and eventually to Production. Also see [[Environment Strategy]].
   −
It's best practice to have ONE unmanaged solution per environment and include all your components in that solution in order to avoid dependencies issues during [[deployment]].  
+
It's best practice to have ONE unmanaged solution per environment and include all your components in that solution in order to avoid dependencies issues during [[deployment]]. There might be circumstances where you will want to have more than one and an example of that is if you use solution components for which the ALM process still is not fully covered. That might mean that it requires some manual steps in the target environment after a deploy and in order to avoid deploying those componentes more than necessary you might want to have such solution components in an own solution.
 
  −
Sometimes you might need to do a minor update and then you can create a patch.  
      
{{
 
{{
Line 18: Line 12:  
}}
 
}}
   −
=== Patches ===
+
=== Two types of Solutions ===
TBD
+
Solutions can be devided into <b> Managed solutions </b> and <b> Unmanaged solutions</b>.
 +
 
 +
Solutions is a concept which comes from the Microsoft Dynamics CRM platform. Over the years there have been different opinions in the community whether to use managed solutions or not. According to Microsoft unmanaged solutions are intended for development environments only and managed solutions are intended for all other environments such as test and production.
 +
 
 +
==== Managed Solutions ====
 +
A Managed Solution can be uninstalled (deleted). If you delete a Managed Solution also the data within the Tables from the solution will be deleted.
 +
 
 +
==== Unmanaged Solutions ====
 +
An Unmanaged Solution CANNOT be uninstalled. It is simply a container with components. If you delete an Unmanaged Solution, it will no longer be shown under Solutions, however all components will still be in the environment. 
 +
 
 +
=== Upgrade, Update and Patch ===
 +
The first time you import a solution the solution will be created in the target environment. The next time you can choose between doing an Upgrade or Update, the difference is that with an Upgrade you will remove all components in the target environment which is not longer in the source environment but was in the Managed Solution before.
 +
 
 +
If you want to create a "hotfix" you can create a patch. See page [[How to create a Solution Patch]].
    
== Microsoft Resources ==
 
== Microsoft Resources ==