You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powerapps-docs/maker/common-data-service/solution-patches.md
+17-8Lines changed: 17 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: "Create solution patches | MicrosoftDocs"
2
+
title: "Create solution updates and patches | MicrosoftDocs"
3
3
description: "Learn how to create solution patches"
4
4
ms.custom: ""
5
5
ms.date: 02/04/2020
@@ -24,9 +24,19 @@ search.app:
24
24
- D365CE
25
25
---
26
26
27
-
# Create solution patches
28
-
A patch contains only the changes for a parent managed solution, such as adding or editing components and assets. When patches are imported, they’re layered on top of the parent solution. When you clone a solution, the system rolls up all related patches into the base solution and creates a new version.
29
-
27
+
# Create solution updates and patches
28
+
You use the **Clone solution** feature to create a significant update for an unmanaged solution. When you clone a solution, the system rolls up all related patches into the base unmanaged solution and creates a new version. When you clone a solution, the version number you specify includes the major and minor positions.
29
+
30
+
> [!div class="mx-imgBorder"]
31
+
> <imgsrc="media/clone-solution.png"alt="Clone a patch major and minor version"height="560"width="307">
32
+
33
+
You use the **Clone a patch** feature to create a less significant update for an unmanaged solution. A patch contains only the changes used to update the solution, such as adding or editing components and assets. When patches are imported, they’re layered on top of the parent managed solution. When you clone a patch, the version number you specify includes the build and revision positions.
34
+
35
+
> [!div class="mx-imgBorder"]
36
+
> <imgsrc="media/clone-a-patch2.png"alt="Clone a patch build and revision version"height="560"width="307">
37
+
38
+
For more information about version numbers, see [Understanding version numbers for cloned solutions and patches](#understanding-version-numbers-for-cloned-solutions-and-patches) in this article.
39
+
30
40
When you’re working with patches and cloned solutions, keep the following information in mind:
31
41
32
42
- A patch represents an incremental minor update to the parent solution. A patch can add or update components and assets in the parent solution when installed on the target system, but it can’t delete any components or assets from the parent solution.
@@ -49,10 +59,6 @@ A patch contains only the changes for a parent managed solution, such as adding
49
59
50
60
- A cloned solution represents a replacement of the base solution when it’s installed on the target system as a managed solution. Typically, you use a cloned solution to ship a major update to the preceding solution.
51
61
52
-
## Understanding version numbers for cloned solutions and patches
53
-
A solution’s version has the following format: major.minor.build.revision. A patch must have a higher build or revision number than the parent solution. It can’t have a higher major or minor version. For example, for a base solution version 3.1.5.7, a patch could be a version 3.1.5.8 or version 3.1.7.0, but not version 3.2.0.0. A cloned solution must have the version number greater than or equal to the version number of the base solution. For example, for a base solution version 3.1.5.7, a cloned solution could be a version 3.2.0.0, or version 3.1.5.7. In the UI, you can only set the major and minor version values for a cloned solution, and the build or revision values for a patch.
54
-
55
-
56
62
## Create a solution patch
57
63
A patch contains changes to the parent solution, such as adding or editing components and assets. You don’t have to include the parent’s components unless you plan to edit them.
58
64
@@ -96,6 +102,9 @@ A patch contains only the changes for a parent managed solution, such as adding
96
102
1. Go to the Power Apps portal, and then select **Solutions**.
97
103
98
104
2. In the solutions list, select an unmanaged solution to create a clone. On the command bar, select **Clone**, and then select **Clone Solution**. The right pane displays the base solution’s name and the new version number. Select **Save**.
105
+
106
+
## Understanding version numbers for cloned solutions and patches
107
+
A solution’s version has the following format: major.minor.build.revision. A patch must have a higher build or revision number than the parent solution. It can’t have a higher major or minor version. For example, for a base solution version 3.1.5.7, a patch could be a version 3.1.5.8 or version 3.1.7.0, but not version 3.2.0.0. A cloned solution must have the version number greater than or equal to the version number of the base solution. For example, for a base solution version 3.1.5.7, a cloned solution could be a version 3.2.0.0, or version 3.1.5.7. When you clone a solution or patch, you set the major and minor version values for a cloned solution, and the build or revision values for a patch.
0 commit comments