-
Notifications
You must be signed in to change notification settings - Fork 751
[WTF-2395] Add docs for batch conversion #10191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
title: "Batch Widget Conversions for React Client" | ||
url: /refguide/mendix-client/batch-conversion/ | ||
description: "Describes how to use the batch conversion feature to convert multiple widgets for React client compatibility." | ||
weight: 30 | ||
--- | ||
|
||
## Introduction | ||
|
||
When migrating your application to the [React client](/refguide/mendix-client/react/), you may need to convert multiple widgets that are not compatible with React client. Studio Pro's batch conversion feature allows you to efficiently convert multiple unsupported widgets at once, rather than converting them individually. | ||
|
||
The batch conversion feature automatically identifies all widgets in your application that need to be converted for React client compatibility and provides options to convert them in bulk. This significantly reduces the time and effort required to migrate large applications to the React client. | ||
|
||
## Supported Widget Conversions | ||
|
||
The batch conversion feature supports the following widget conversions: | ||
|
||
| Original Widget | Converts To | | ||
|-------------------------------------------------------------------------|-----------------------------------------------| | ||
| [Dynamic Image](/refguide/image-viewer/) | [Image](/appstore/widgets/image/) | | ||
| [Static Image](/refguide/image/) | [Image](/appstore/widgets/image/) | | ||
| [Reference Selector](/refguide/reference-selector/) | [Combo Box](/appstore/widgets/combobox/) | | ||
| [Reference Set Selector](/refguide/reference-set-selector/) | [Combo Box](/appstore/widgets/combobox/) | | ||
| [Input Reference Set Selector](/refguide/input-reference-set-selector/) | [Combo Box](/appstore/widgets/combobox/) | | ||
| [Drop-down](/refguide/drop-down/) | [Combo Box](/appstore/widgets/combobox/) | | ||
| [Data Grid](/refguide/data-grid/) | [Data Grid 2](/appstore/modules/data-grid-2/) | | ||
|
||
## Using Batch Conversion | ||
|
||
To start the batch conversion process you can either: | ||
|
||
1. Right-click on an incompatible widget in Studio Pro and select **Convert all to [target widget]** | ||
2. Right-click on an error or a deprecation for an incompatible widget and select **Convert all to [target widget]** | ||
|
||
The Widget Conversion dialog displays: | ||
|
||
{{< figure src="/attachments/refguide/runtime/mendix-client/batch-conversion-dialog.png" class="no-border" >}} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The screenshot you shared is already an outdated version and not the final one. I tried to to make a new one, but I cannot manage to get the resolution of the image you shared, so I let you take a new one. |
||
|
||
### Handling Conversion Limitations | ||
|
||
Some widgets may not be in a convertible state due to specific configurations or properties. In such cases, Studio Pro will attempt to convert as many widgets as possible and will inform you about how many widgets could not be converted automatically. You can then choose to convert the remaining widgets manually by finding them through the error pane. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Mert, as discussed earlier let's be more specific here. By "manually" we should highlight that the user should try again a single conversion by right-clicking on a single widget and then there will be a pop-up dialog with more details about why the conversion didn't proceed during the batch conversion. Feel free to formulate it differently, but here an idea:
|
||
|
||
{{% alert color="info" %}} | ||
For detailed information about conversion limitations, see [Widget Conversion Limitations](/refguide/mendix-client/widget-conversion-limitations/). | ||
{{% /alert %}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use both
incompatible
andunsupported
widgets, not sure if we should align the terms or maybe is fine?