Skip to content

Commit 8608eda

Browse files
committed
Update call-external-action.md
1 parent af03bc0 commit 8608eda

File tree

2 files changed

+17
-14
lines changed

2 files changed

+17
-14
lines changed

content/en/docs/refguide/modeling/application-logic/microflows-and-nanoflows/activities/integration-activities/call-external-action.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ If you have selected a variable for an entity that is an open type (`OpenType="t
8585
The ability to add additional attributes was introduced in [Studio Pro 11.5.0](/releasenotes/studio-pro/11.5/).
8686
{{% /alert %}}
8787

88-
### Collection Attributes
88+
### Collection Attributes {#collection-attributes}
8989

9090
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.
9191

content/en/docs/refguide/modeling/integration/odata-services/consumed-odata-services/consumed-odata-service-requirements.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -78,18 +78,18 @@ Attributes marked as `FC_KeepInContent=false` cannot be used.
7878

7979
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:
8080

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) |
9393

9494
¹ In Studio Pro, Booleans cannot be null. If the service returns null, the app will use the value `false`.
9595

@@ -164,15 +164,18 @@ Supported types, and their corresponding type in Mendix, are:
164164
| Entity | Object ³ |
165165
| Enumeration | Enumeration |
166166
| String, Guid | String |
167+
| Collection | List ⁴ |
167168

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.
169170

170171
¹ In Mendix, Booleans cannot be null. If the action returns null, the value will be false in Mendix.
171172

172173
² 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.
173174

174175
³ Objects that contain attributes of complex types are not currently supported in actions.
175176

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+
176179
{{% alert color="warning" %}}
177180
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.
178181
{{% /alert %}}

0 commit comments

Comments
 (0)