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
[ACCORDION-BEGIN [Step 1: ](Create the Service Definition File)]
24
+
[ACCORDION-BEGIN [Step 1: ](Create the service definition file)]
25
25
26
26
In the previous tutorial from this group, you have defined the data model for your solution and populated it with some initial test data. But, when you first run the application you noticed no services have been defined, thus the entities where not exposed.
27
27
28
28
In this step you will create the service definition file for further coding.
29
29
30
-
On the **left-hand pane** of **SAP Business Application Studio**, select the `srv` folder, then click on the **three dots** to the right of the project name and select **New File**.
30
+
On the **left-hand pane** of **SAP Business Application Studio**, (1) select the `srv` folder, then (2) click on the **three dots** to the right of the project name and (3) select **New File**.
31
31
32
32

33
33
@@ -38,7 +38,7 @@ On the **dialog** name the file `projman-service.cds` and click **OK**.
38
38
[DONE]
39
39
[ACCORDION-END]
40
40
41
-
[ACCORDION-BEGIN [Step 2: ](Code the Service Definition)]
41
+
[ACCORDION-BEGIN [Step 2: ](Code the service definition)]
42
42
43
43
Copy and paste the **code snippet below** into the recently created file:
44
44
@@ -79,7 +79,7 @@ service ProjectManager @(path : '/projman') {
79
79
[DONE]
80
80
[ACCORDION-END]
81
81
82
-
[ACCORDION-BEGIN [Step 3: ](Understand the Definition Code)]
82
+
[ACCORDION-BEGIN [Step 3: ](Understand the definition code)]
83
83
84
84
Quickly analyze the service definition code:
85
85
@@ -98,7 +98,7 @@ You also annotate the **Project** entity (the **root entity** of your model) wit
98
98
[DONE]
99
99
[ACCORDION-END]
100
100
101
-
[ACCORDION-BEGIN [Step 4: ](Test the Service)]
101
+
[ACCORDION-BEGIN [Step 4: ](Test the service)]
102
102
103
103
Now that you have properly defined a service and exposed the desired entities, you should notice that, in the **Terminal**, `cds watch` has updated:
104
104
@@ -119,7 +119,7 @@ If you click the `SFSF_User` link you'll get an error, because that's not an ent
119
119
[DONE]
120
120
[ACCORDION-END]
121
121
122
-
[ACCORDION-BEGIN [Step 5: ](Check Your Knowledge)]
122
+
[ACCORDION-BEGIN [Step 5: ](Check your knowledge)]
0 commit comments