title | url | weight | tags | |||
---|---|---|---|---|---|---|
Published OData Attribute |
/refguide9/published-odata-attribute/ |
10 |
|
The Edit published attribute dialog allows you to edit the properties of an attribute published in an OData service.
{{< figure src="/attachments/refguide9/modeling/integration/published-odata-attribute/edit-published-attribute.png" alt="Edit published attribute dialog box." class="no-border" >}}
The exposed name is the name of the attribute as it appears to clients of the service.
Select this box if there is a possibility for this attribute the have an empty value. One way to make sure no empty values are created in the database is to add a required validation rule.
For attributes that are part of the key of the entity, this box must be unselected.
The entity that this attribute is a part of.
The attribute that is being published. This value cannot be changed; to publish a different attribute, use the Add button in the list of published attributes.
The type of the attribute.
This field is shown when the type is an enumeration that was previously exposed as a string, and only for OData v4. Change the value to Enumeration to publish the enumeration. This informs clients of the possible values of this attribute.
{{% alert color="info" %}} The enumerations feature was introduced in Studio Pro 9.24.0. In earlier versions, enumeration attributes were published as strings. {{% /alert %}}
Select Sortable to allow clients to sort results based on this attribute.
Select Filter to allow clients to filter results based on this attribute.
In the Public documentation tab, you can write a summary and a description intended for people using the service.