Skip to content

Commit 0ecaf4a

Browse files
author
Marks Troicins
committed
Revert "Remove module updates part"
This reverts commit 2521043.
1 parent ad2c9a6 commit 0ecaf4a

2 files changed

Lines changed: 49 additions & 0 deletions

File tree

content/en/docs/refguide/modeling/app-explorer/modules/module-settings.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ Improved package management is available for [Studio Pro 11.12](/releasenotes/st
8585

8686
Studio Pro 11.12 introduces improved package management to enable reliable module tracking and updates.
8787

88+
For more information on how to use package management when updating modules, see [Updating Marketplace Modules](https://github.com/mendix/docs/blob/development/refguide/updating-marketplace-modules).
89+
8890
Key improvements are delivered through new module properties and a new `manifest.json` file format in module packages (*.mpk* files):
8991

9092
* **Package identification** – Each module receives a [Module ID](#module-id) that uniquely identifies it across all versions. This allows Studio Pro to reliably track modules across updates, even if the module name changes.
@@ -143,6 +145,7 @@ The legacy `package.xml` metadata file is not mentioned in `manifest.json` but i
143145
## Read More
144146

145147
* [Modules](/refguide/modules/)
148+
* [Update modules](refguide/updating-marketplace-modules)
146149
* [Configure Add-on and Solution Modules for Publishing](/refguide/configure-add-on-and-solution-modules/)
147150
* [Applying Intellectual Property Protection](/appstore/creating-content/sol-ip-protection/)
148151
* [Creating Solutions](/appstore/creating-content/sol-solutions-guide/)
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: "Updating Marketplace Modules"
3+
url: /refguide/updating-marketplace-modules/
4+
weight: 40
5+
description: "Describes how to update Marketplace modules while retaining your customizations using three-way merge."
6+
---
7+
8+
## Introduction
9+
10+
Previously, when you wanted to update a Marketplace module to a newer version, you had to fully replace the module. This meant losing any customizations you had made, such as modified microflows or added functionality. If you had customized a module, you had to choose between keeping your changes or getting the latest updates from the publisher.
11+
12+
Studio Pro 11.12 changes this by enabling module updates that retain your customizations. Now, when you update a module, Studio Pro performs a three-way merge that intelligently combines your customizations with the publisher's updates. This means you can both keep your changes and benefit from bug fixes and new features in the updated module.
13+
14+
{{% alert color="info" %}}
15+
Studio Pro 11.12 introduces improved package management with package IDs and document GUID mappings that make updates more reliable. However, updates with customization retention also work for older modules without package IDs through name-based mapping. For more information on package management, see [Module Settings](/refguide/module-settings/#package).
16+
{{% /alert %}}
17+
18+
## Updating Modules with Three-Way Merge
19+
20+
### Three-Way Merge Process
21+
22+
To retain your customizations when updating a module, Studio Pro performs a three-way merge. This process requires three versions:
23+
24+
1. **Original version** – The version of the Marketplace module that you originally imported
25+
2. **Current version** – The version currently in your app, which may include your modifications
26+
3. **Target version** – The new version of the Marketplace module that you want to upgrade to
27+
28+
You must manually provide both the original and target versions. If the mapping of documents succeeds, the merge begins. If mapping fails, you cannot upgrade while keeping your customizations, and you must fully overwrite the module.
29+
30+
During the merge, conflicts may occur if you and the publisher both modified the same element (for example, the same microflow). For information on resolving conflicts, see [Combining Changes and Resolving Conflicts](/refguide/resolving-conflicts/).
31+
32+
### Document Mapping
33+
34+
To successfully merge your customizations with the updated module, Studio Pro needs to match documents between the old and new versions. The method Studio Pro uses depends on whether the module has package identification:
35+
36+
* **Modules with package IDs** – Studio Pro uses the embedded GUID mapping information to match documents by GUID. This is more reliable because documents can be matched even if they have been renamed.
37+
* **Modules without package IDs** – Studio Pro attempts to map documents by name. This works well as long as document names have not changed between versions.
38+
39+
For more information on package IDs and how they are assigned, see [Module Settings](/refguide/module-settings/#package).
40+
41+
## Read More
42+
43+
* [Modules](/refguide/modules/)
44+
* [Module Settings](/refguide/module-settings/)
45+
* [Consuming Add-on Modules and Solutions](/refguide/consume-add-on-modules-and-solutions/)
46+
* [Combining Changes and Resolving Conflicts](/refguide/resolving-conflicts/)

0 commit comments

Comments
 (0)