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
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,10 @@ The **Output** section shows what the action returns and allows you to rename it
55
55
56
56
If the action returns an entity that has associations, you can select the associations that you want to have populated in the resulting variable. You can then use the **Retrieve object(s)** activity to retrieve the associated objects over the association.
57
57
58
+
{{% alert color="info" %}}
59
+
The support for OData actions that return entity type having Collection attribute(s) of supported primitive types, was introduced in [Studio Pro 11.6.0](/releasenotes/studio-pro/11.6/).
60
+
{{% /alert %}}
61
+
58
62
## Documentation Tab {#public-documentation}
59
63
60
64
In the **Documentation** tab, you can find a **Summary** and a **Description**. These fields contain public documentation provided by the author of the service.
@@ -81,6 +85,14 @@ If you have selected a variable for an entity that is an open type (`OpenType="t
81
85
The ability to add additional attributes was introduced in [Studio Pro 11.5.0](/releasenotes/studio-pro/11.5/).
82
86
{{% /alert %}}
83
87
88
+
### Collection Attributes
89
+
90
+
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.
91
+
92
+
{{% alert color="info" %}}
93
+
The support for OData actions with parameter entity type having Collection attribute(s) of supported primitive types, was introduced in [Studio Pro 11.6.0](/releasenotes/studio-pro/11.6/).
94
+
{{% /alert %}}
95
+
84
96
### Associations to Include
85
97
86
98
If you have selected a variable for an entity that has associations, you can select the associations you want to include in the arguments that you call the external action with.
Copy file name to clipboardExpand all lines: content/en/docs/refguide/modeling/integration/odata-services/consumed-odata-services/consumed-odata-service-requirements.md
+21-11Lines changed: 21 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,17 +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
-
| (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(Any Mendix-supported primitive type) | List (see [Collection Attributes](#collection-attributes) below)|
92
+
| (Other) | (Ignored) |
92
93
93
94
¹ In Studio Pro, Booleans cannot be null. If the service returns null, the app will use the value `false`.
94
95
@@ -122,6 +123,15 @@ The binary data format is supported in the form of *media entities*. When a medi
122
123
123
124
Currently, the binary data can only be accessed by Java actions.
Collection attributes (mendix supported primitive-types) are supported in OData entity type when consumed as an external entity.
129
+
When an entity type with supported Collection attribute(s) is added to the domain model, each of its Collection attributes is represented as a non-persistable entity (associated as a one-way navigable Reference-set to original attribute containing entity type). The domain model entity corresponding to the collection attribute contains a single attribute (having same primitive type as the type of Collection in the OData metadata).
130
+
131
+
{{% alert color="info" %}}
132
+
The support for OData actions with parameter entity type having Collection attribute(s) of supported primitive types, was introduced in [Studio Pro 11.6.0](/releasenotes/studio-pro/11.6/).
133
+
{{% /alert %}}
134
+
125
135
### Associations
126
136
127
137
An OData v3 association can only be used if it has two ends.
0 commit comments