diff --git a/guides/uis/fiori.md b/guides/uis/fiori.md index 9f004cdb37..a9252ee868 100644 --- a/guides/uis/fiori.md +++ b/guides/uis/fiori.md @@ -1,5 +1,5 @@ --- -impl-variants: true + --- # Serving SAP Fiori UIs @@ -18,23 +18,9 @@ For entities exposed via OData V4 there is a _Fiori preview_ link on the index p ::: details Be aware that this is **not meant for production**. -
- -The preview is not meant as a replacement for a proper SAP Fiori elements (UI5) application. -It is only active locally where the [development profile](../../node.js/cds-env#profiles) is enabled. - -To also enable it in cloud deployments, for test or demo purposes maybe, set cds.fiori.preview:true. - -
- -
- The preview is not meant as a replacement for a proper SAP Fiori elements (UI5) application. -It is active by default, but disabled automatically in case the [production profile](../../java/developing-applications/configuring#production-profile) is enabled. - -To also enable it in cloud deployments, for test or demo purposes maybe, set cds.index-page.enabled:true. -
+It's active by default, but disabled automatically in production. To also enable it in cloud deployments, for test or demo purposes maybe, set cds.fiori.preview:true for Node.js apps, or cds.index-page.enabled:true for Java. ::: @@ -65,7 +51,7 @@ The SAP Fiori tools provide advanced support for [adding SAP Fiori apps](https:/ ### Using [`cds add`](../../tools/cds-cli#sample) -Use `cds add sample` to add Fiori sample code to an existing project, or create a new one with `cds init --nodejs --add sample`. +Use `cds add sample` to add Fiori sample code to an existing project, or create a new Node.js project with `cds init --nodejs --add sample`. To create a Java project use `cds init --java --add sample`. ### From [Capire Samples](https://github.com/capire) @@ -812,7 +798,7 @@ You can now start the server with `cds watch` and see the hierarchical tree view ![Fiori UI with hierarchical tree view.](hierarchical-tree-view.png) {style="filter: drop-shadow(0 2px 5px rgba(0,0,0,.40));"} The compiler automatically expands the shortcut annotation `@hierarchy` to the -following `annotate` and `extend` statements. +following `annotate` and `extend` statements. ### Manual Approach