Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ The most commonly used attribute types can be used in your app. The types of the
| Enumeration | Enumeration |
| Int64 | Long |
| String, Guid | String |
| Collection | List (see [Collection Properties](#collection-properties) below) |
| (Other) | (Ignored) |

¹ In Studio Pro, Booleans cannot be null. If the service returns null, the app will use the value `false`.
Expand Down Expand Up @@ -122,6 +123,22 @@ The binary data format is supported in the form of *media entities*. When a medi

Currently, the binary data can only be accessed by Java actions.

### Collection Properties {#collection-properties}

{{% alert color="info" %}}
Collection properties were introduced in [Studio Pro 11.6.0](/releasenotes/studio-pro/11.6/).
{{% /alert %}}

Entity type properties that are a collection of a supported attribute type are supported through the use of an associated non-persistable entity.

Take, for example, a `Product` entity type has an attribute `Tags` with type `Collection(Edm.String)`. The resulting domain model looks as follows:

{{< figure src="/attachments/refguide/modeling/integration/odata-services/consumed-odata-service/collection-of-primitives.png" alt="A product entity with an associated ProductTag entity. The ProductTag entity has a Tag attribute" width="531" class="no-border" >}}

For entity sets, these properties are not supported. This means they can only be used in parameters and return values of external actions.

Collection properties are not supported for services using OData v3.

### Associations

An OData v3 association can only be used if it has two ends.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.