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/refguide/modeling/application-logic/microflows-and-nanoflows/activities/integration-activities/call-external-action.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@ If you have selected a variable for an entity that is an open type (`OpenType="t
85
85
The ability to add additional attributes was introduced in [Studio Pro 11.5.0](/releasenotes/studio-pro/11.5/).
When assigning a value to an entity type parameter that has collection attributes (e.g., a list of strings), select the corresponding attribute of matching type from list variable (list of objects) — Mendix will automatically use the whole list to populate the collection values.
Copy file name to clipboardExpand all lines: content/en/docs/refguide/modeling/integration/odata-services/consumed-odata-services/consumed-odata-service-requirements.md
+16-13Lines changed: 16 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,18 +78,18 @@ Attributes marked as `FC_KeepInContent=false` cannot be used.
78
78
79
79
The most commonly used attribute types can be used in your app. The types of the attributes are be based on the types of the attributes in the OData metadata, as given in the following table:
80
80
81
-
| OData Type | Mendix Type |
82
-
| --- | --- |
83
-
| Binary | Binary (see [Binary Attributes](#binary-attributes) below) |
84
-
| Boolean | Boolean ¹ |
85
-
| Byte, SByte, Int16, Int32 | Integer |
86
-
| DateTime, DateTimeOffset, Time | Date/time |
87
-
| Decimal, Double, Single | Decimal ² |
88
-
| Enumeration | Enumeration |
89
-
| Int64 | Long |
90
-
| String, Guid | String |
91
-
| Collection(Any Mendix-supported primitive type)| List (see [Collection Attributes](#collection-attributes) below)|
92
-
| (Other) | (Ignored) |
81
+
| OData Type | Mendix Type |
82
+
| --- | --- |
83
+
| Binary | Binary (see [Binary Attributes](#binary-attributes) below) |
84
+
| Boolean | Boolean ¹ |
85
+
| Byte, SByte, Int16, Int32 | Integer |
86
+
| DateTime, DateTimeOffset, Time | Date/time |
87
+
| Decimal, Double, Single | Decimal ² |
88
+
| Enumeration | Enumeration |
89
+
| Int64 | Long |
90
+
| String, Guid | String |
91
+
| Collection| List (see [Collection Attributes](#collection-attributes) below)|
92
+
| (Other) | (Ignored) |
93
93
94
94
¹ In Studio Pro, Booleans cannot be null. If the service returns null, the app will use the value `false`.
95
95
@@ -164,15 +164,18 @@ Supported types, and their corresponding type in Mendix, are:
164
164
| Entity | Object ³ |
165
165
| Enumeration | Enumeration |
166
166
| String, Guid | String |
167
+
| Collection | List ⁴ |
167
168
168
-
Note that the only supported Collection type is a Collection of Entities, and that binary parameters or return values are not supported for consumed OData actions.
169
+
Note that the only supported Collection type is a Collection of Entities, Collection of mendix-supported primitives, and that binary parameters or return values are not supported for consumed OData actions.
169
170
170
171
¹ In Mendix, Booleans cannot be null. If the action returns null, the value will be false in Mendix.
171
172
172
173
² Decimal values outside of the range of a Mendix [Decimal](/refguide/attributes/#type) are currently not supported. If the action returns a value outside of the range, the action will return an error.
173
174
174
175
³ Objects that contain attributes of complex types are not currently supported in actions.
175
176
177
+
⁴ Collection of mendix-supported primtive types, see more details in [Using Collection-type attributes in Call External Action](/refguide/call-external-action/#collection-attributes)
178
+
176
179
{{% alert color="warning" %}}
177
180
When the OData endpoint contains functions, these are not imported in the consumed OData service. You can use a [Call REST service](/refguide/call-rest-action/) activity to call these functions.
0 commit comments