From f65148c222d1ecbd6062ecb250bfbc43015238d0 Mon Sep 17 00:00:00 2001 From: Marco Laponder Date: Tue, 9 Jun 2026 14:35:38 +0200 Subject: [PATCH 1/2] Remove deprecation for file/image property without allowUpload --- .../pluggable-widgets-property-types.md | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/pluggable-widgets/pluggable-widgets-property-types.md b/content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/pluggable-widgets/pluggable-widgets-property-types.md index 544224a055d..268597b8e26 100644 --- a/content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/pluggable-widgets/pluggable-widgets-property-types.md +++ b/content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/pluggable-widgets/pluggable-widgets-property-types.md @@ -28,11 +28,9 @@ This defines the prop `key` in the client component props which are supplied to #### AllowUpload (Optional) {#allow-upload} -This optional attribute applies only to [file](#file) and [image](#image) properties and determines whether users can upload and edit files. When set to the default value of `false`, properties use the legacy read-only behavior. Setting it to `true` unlocks upload and edit capabilities by passing `EditableFileValue` and `EditableImageValue` types, as props to a client component. +This optional attribute applies only to [file](#file) and [image](#image) properties and determines whether users can upload and edit files. When set to the default value of `false`, properties use read-only behavior. Setting it to `true` unlocks upload and edit capabilities by passing `EditableFileValue` and `EditableImageValue` types, as props to a client component. -{{% alert color="warning" %}} Legacy DynamicValue types for file and image properties are deprecated and will be removed at Mendix 12. Use allowUpload="true" to migrate to the new editable types before Mendix 12. {{% /alert %}} - -Be aware of behavioral differences between the legacy read-only mode (`false`) and the new editable mode (`true`). +Be aware of behavioral differences between the read-only mode (`false`) and the editable mode (`true`). #### Type (Required) @@ -269,9 +267,7 @@ Then the Studio Pro UI for the component appears like this: Image allows a user to configure an image from an object that is a specialization of **System.Image**. It is passed as an [`EditableImageValue`](/apidocs-mxsdk/apidocs/pluggable-widgets-client-apis/#editable-image-value) prop to a client component. For more information about supported image formats, see the [Images Reference Guide](/refguide/images/). -The user can use the optional attribute [`allowUpload`](#allow-upload) with default value `false` to use the legacy [`Dynamic`](/apidocs-mxsdk/apidocs/pluggable-widgets-client-apis/#filevalue) prop. Beware of behavioral differences based on the `allowUpload` attribute. - -{{% alert color="warning" %}} Legacy DynamicValue types for file and image properties are deprecated and will be removed at Mendix 12. Use allowUpload="true" to migrate to the new editable types before Mendix 12. {{% /alert %}} +The user can use the optional attribute [`allowUpload`](#allow-upload) with default value `false` to use the [`Dynamic`](/apidocs-mxsdk/apidocs/pluggable-widgets-client-apis/#filevalue) prop. Beware of behavioral differences based on the `allowUpload` attribute. #### XML Attributes @@ -708,9 +704,7 @@ Then the Studio Pro UI for the property appears like this: The file property type allows a user to configure and edit a file from and to an object that is a specialization of **System.File**. It is passed as a [`EditableFileValue`](/apidocs-mxsdk/apidocs/pluggable-widgets-client-apis/#editable-file-value) prop to a client component. -The user can use the optional attribute [`allowUpload`](#allow-upload) with default value `false` to use the legacy [`Dynamic`](/apidocs-mxsdk/apidocs/pluggable-widgets-client-apis/#filevalue) prop. Beware of behavioral differences based on the `allowUpload` attribute. - -{{% alert color="warning" %}} Legacy DynamicValue types for file and image properties are deprecated and will be removed at Mendix 12. Use allowUpload="true" to migrate to the new editable types before Mendix 12. {{% /alert %}} +The user can use the optional attribute [`allowUpload`](#allow-upload) with default value `false` to use the [`Dynamic`](/apidocs-mxsdk/apidocs/pluggable-widgets-client-apis/#filevalue) prop. Beware of behavioral differences based on the `allowUpload` attribute. #### XML Attributes From 081720f6a405074994504bd2f3a976958d580117 Mon Sep 17 00:00:00 2001 From: Marco Laponder Date: Tue, 9 Jun 2026 14:57:32 +0200 Subject: [PATCH 2/2] Add introduced alert for allowUpload --- .../pluggable-widgets/pluggable-widgets-property-types.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/pluggable-widgets/pluggable-widgets-property-types.md b/content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/pluggable-widgets/pluggable-widgets-property-types.md index 268597b8e26..6d9ab9bc31d 100644 --- a/content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/pluggable-widgets/pluggable-widgets-property-types.md +++ b/content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/pluggable-widgets/pluggable-widgets-property-types.md @@ -28,6 +28,10 @@ This defines the prop `key` in the client component props which are supplied to #### AllowUpload (Optional) {#allow-upload} +{{% alert color="info" %}} +Introduced in Mendix 11.8. Support for native widgets was introduced in Mendix 11.11. +{{% /alert %}} + This optional attribute applies only to [file](#file) and [image](#image) properties and determines whether users can upload and edit files. When set to the default value of `false`, properties use read-only behavior. Setting it to `true` unlocks upload and edit capabilities by passing `EditableFileValue` and `EditableImageValue` types, as props to a client component. Be aware of behavioral differences between the read-only mode (`false`) and the editable mode (`true`).