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/domain-model/entities/view-entities/_index.md
+19-4Lines changed: 19 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,13 +23,13 @@ View entities can also reference other view entities, allowing for more complex
23
23
View entities are read-only. To change the resulting data of a view entity retrieval, the source data should be modified. For this purpose, you can set up a microflow to map a view object to an object (or objects) of their corresponding source entity (or entities) and commit those.
24
24
{{% /alert %}}
25
25
26
-
## Enabling OQL Version 2
26
+
## Prerequisites
27
27
28
28
Your app must use OQL version 2 to use view entities. You can change this setting by clicking **App 'APP_NAME'** > **Settings** > **Runtime** and setting [OQL version 2](/refguide/app-settings/#oql-version-2) to **Yes**. Alternatively, you can drag a new view entity from the toolbar or **Toolbox** to the domain model, which opens a dialog box where you can confirm upgrading to OQL version 2 if it has not been upgraded yet.
29
29
30
30
## Properties
31
31
32
-
Double-clicking a view entity to open its properties dialog box. An example of a view entity's properties dialog box is represented in the image below:
32
+
Double-click a view entity to open its Properties dialog box. An example of a view entity's properties dialog box is represented in the image below:
@@ -46,7 +46,7 @@ View entity properties consist of the following sections:
46
46
47
47
The name property defines the name of the view entity. This name is used to refer to the view entity in forms, microflows, queries, constraints, etc.
48
48
49
-
The name has to be unique only within the domain model of a module. You can have two view entities with the same name, provided that they are in the domain models of different modules.
49
+
The name has to be unique only within the domain model of a module. You can have two view entities with the same name, provided they are in the domain models of different modules.
50
50
51
51
#### Image {#image}
52
52
@@ -78,4 +78,19 @@ You can add any local information about the view entity in this tab. This is als
78
78
79
79
## Using a View Entity
80
80
81
-
After creating a view entity in the domain model, it can be used in microflows and pages like any other entity. For more information, see [Use View Entities](/refguide/use-view-entities/).
81
+
After creating a view entity in the domain model, it can be used in microflows and pages like any other entity. For more information, see [Use View Entities](/refguide/use-view-entities/) and [OQL](/refguide/oql/).
82
+
83
+
## Read More
84
+
85
+
For specific use case scenarios, see the following:
0 commit comments