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: content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/pluggable-widgets/pluggable-widgets-property-types.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ This defines a property's type. A `type` must be one of the following:
60
60
*[file](#file)
61
61
*[datasource](#datasource)
62
62
*[List data source](#list-datasource)
63
-
*[Single object data source](#single-object-datasource)
63
+
*[Object data source](#object-datasource)
64
64
*[selection](#selection)
65
65
66
66
### XML Elements
@@ -745,7 +745,7 @@ Then the Studio Pro UI for the property appears like this:
745
745
746
746
### Datasource {#datasource}
747
747
748
-
The datasource property allows widgets to work with data from the Mendix Platform. It comes in two variants controlled by the `isList` attribute: a **list data source** (`isList="true"`) for working with collections of objects, and a**single object data source** (`isList="false"`) for working with a single object.
748
+
The datasource property allows widgets to work with data from the Mendix Platform. It comes in two variants controlled by the `isList` attribute: a **list data source** (`isList="true"`) for working with collections of objects, and an**object data source** (`isList="false"`) for working with a single object.
749
749
750
750
If no data source has been configured by the user, any properties that are linked to the datasource property are automatically omitted from the props passed to the client component (even if they are marked as required).
751
751
@@ -755,7 +755,7 @@ If no data source has been configured by the user, any properties that are linke
#### Single Object Data Source {#single-object-datasource}
793
+
#### Object Data Source {#object-datasource}
794
794
795
795
{{% alert color="info" %}}
796
-
The single object data source was introduced in Mendix [11.11](/releasenotes/studio-pro/11.11/).
796
+
The object data source was introduced in Mendix [11.11](/releasenotes/studio-pro/11.11/).
797
797
{{% /alert %}}
798
798
799
-
A single object data source (`isList="false"`) allows a widget to work with a single object. The client component receives a prop of type [`DynamicValue<ObjectItem>`](/apidocs-mxsdk/apidocs/pluggable-widgets-client-apis/#dynamic-value).
799
+
An object data source (`isList="false"`) allows a widget to work with a single object. The client component receives a prop of type [`DynamicValue<ObjectItem>`](/apidocs-mxsdk/apidocs/pluggable-widgets-client-apis/#dynamic-value).
800
800
801
-
A widget may have at most one single object data source property.
801
+
A widget may have at most one object data source property.
802
802
803
803
The available source types differ from list data sources:
804
804
@@ -826,7 +826,7 @@ Then the Studio Pro UI for the property appears like this:
826
826
827
827
The [`action`](#action), [`attribute`](#attribute), [`association`](#association), [`expression`](#expression), [`text template`](#texttemplate), [`widgets`](#widgets), and [`selection`](#selection) properties can be linked to a data source using the `dataSource` attribute on those properties. The client type received by the component depends on the data source type:
828
828
829
-
| Property type | List data source client type |Single object data source client type |
829
+
| Property type | List data source client type |Object data source client type |
@@ -852,7 +852,7 @@ The selection property allows a widget to read and set a selection that can be u
852
852
|`onChange`| No | Property Path | The path to an [`action`](#action) property that will be run by the Mendix Platform when the selection is changed by the widget |
853
853
854
854
{{% alert color="warning" %}}
855
-
The `dataSource` attribute must refer to a [list data source](#list-datasource). Linking a selection property to a single object data source is not supported.
855
+
The `dataSource` attribute must refer to a [list data source](#list-datasource). Linking a selection property to an object data source is not supported.
0 commit comments