In the layout editor, you can bind properties of controls or control aggregations to an artifact in the OData service.
You have defined a data set for the view that you are working on, by doing one of the following:
-
If you are opening a view that has no data set defined for it, the Data Binding dialog box opens, where you can define a data set.
-
Select the view, and define the data set from the dropdown list.
If you change the data set that is defined for the current view, the existing data bindings might become invalid.
The following types of bindings are possible:
-
Properties of controls
-
Aggregations of controls
To bind properties of models that are not OData models, you must work from the source code files and not from the layout editor. Alternatively, if you do not want to work with the source files in the XML editor, you can enter free text for properties in the Properties pane.
If your application does not consume an OData service, you can add the OData Service component to it.
- Define Entity Set
Before you can bind data to a control, you need to define an entity set. - Bind Data to a Simple Control
You can bind data to a simple control. - Bind Data to an Aggregate-Type Control
You can bind data to an aggregate-type control, which creates a template. - Bind to the i18n Model
You can bind a control property to the i18n model or create a new i18n entry. - Bind to a Label Annotation
You can bind a control property to a label annotation.
Related Information