Published OData Attribute

Last modified: August 20, 2024

Introduction

The Edit published attribute dialog allows you to edit the properties of an attribute published in an OData service.

Edit published attribute dialog box.

General

Exposed Name

The exposed name is the name of the attribute as it appears to clients of the service.

Can Be Empty

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.

Entity

The entity that this attribute is a part of.

Attribute

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.

Type

The type of the attribute.

Exposed As

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.

Capabilities

Select Sortable to allow clients to sort results based on this attribute.

Select Filter to allow clients to filter results based on this attribute.

Public Documentation

In the Public documentation tab, you can write a summary and a description intended for people using the service.