Skip to content
This repository was archived by the owner on Nov 13, 2021. It is now read-only.

Commit b362445

Browse files
authored
remove reload step after 'using from service'
1 parent 68cb4d3 commit b362445

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

exercises/09/readme.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -233,22 +233,18 @@ Now you can open the "Browse Books" app and see the beginnings of a list report.
233233

234234
![empty table](empty-table.png)
235235

236-
### 5. Create a CDS index file
237236

238-
This is the point where you can introduce an `index.cds` file which controls which services are exposed.
237+
### 5. Create a CDS index file with annotations
239238

240-
:point_right: Create a file `index.cds` in the `srv/` directory, and add the following single line as the initial content:
239+
This is the point where you can introduce an `index.cds` file which controls which services are exposed, and also which can contain annotations to drive the Fiori elements based app.
240+
241+
:point_right: Create a file `index.cds` in the `srv/` directory, and initially add this single line, which brings in the service definitions defined in `service.cds`:
241242

242243
```cds
243244
using from './service';
244245
```
245246

246-
> At this point you can actually reload the UI; while you will see some semblance of an app when you select the tile in the launchpad, the app's display will be mostly empty.
247-
248-
249-
### 6. Add annotations for the service
250-
251-
Now let's look at important content that will help us join together in our minds the two complementary worlds of CAP and Fiori. This content is to be added to `index.cds` and controls what gets served to Fiori frontends, via annotations that form a rich layer of metadata over the top of the service.
247+
Now let's look at important content that will help us join together in our minds the two complementary worlds of CAP and Fiori. This content is to be added next to `index.cds` and controls what gets served to Fiori frontends, via annotations that form a rich layer of metadata over the top of the service.
252248

253249
:point_right: Below the initial line (`using from ...`) that you added to `index.cds` in the previous step, add the following content:
254250

@@ -289,7 +285,7 @@ annotate CatalogService.Authors with {
289285
> You may see some warnings that there are no texts for the internationalization (i18n) identifiers. We'll fix this shortly, you can ignore the warnings for now.
290286
291287

292-
### 7. Test the app
288+
### 6. Test the app
293289

294290
The app should be ready to invoke. Reload the Fiori launchpad and select the tile. It should open up into a nice List Report style Fiori Elements app - all driven from the service's annotations:
295291

@@ -298,7 +294,7 @@ The app should be ready to invoke. Reload the Fiori launchpad and select the til
298294
Well done!
299295

300296

301-
### 8. Add base internationalization texts
297+
### 7. Add base internationalization texts
302298

303299
Just to round things off, add some i18n texts - they're referred to in various annotation sections, and it will make the app look a little more polished.
304300

0 commit comments

Comments
 (0)