From 4b5c7844c6d6b0dea59aa5c7074bb427028832c5 Mon Sep 17 00:00:00 2001 From: Rene Jeglinsky Date: Thu, 12 Feb 2026 13:59:25 +0100 Subject: [PATCH 1/2] remove toggle --- guides/uis/fiori.md | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/guides/uis/fiori.md b/guides/uis/fiori.md index 9f004cdb37..9e8ed5f0f7 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,11 @@ 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. +For Node.js, it's 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. -
+For Java, it's 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. ::: @@ -65,7 +53,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) From 52f15b9ce385a4e229b9219b6287d668fcc6d1c0 Mon Sep 17 00:00:00 2001 From: Christian Georgi Date: Thu, 12 Feb 2026 16:51:29 +0100 Subject: [PATCH 2/2] Align wording for Node and Java --- guides/uis/fiori.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/guides/uis/fiori.md b/guides/uis/fiori.md index 9e8ed5f0f7..a9252ee868 100644 --- a/guides/uis/fiori.md +++ b/guides/uis/fiori.md @@ -20,9 +20,7 @@ For entities exposed via OData V4 there is a _Fiori preview_ link on the index p The preview is not meant as a replacement for a proper SAP Fiori elements (UI5) application. -For Node.js, it's 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. - -For Java, it's 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. ::: @@ -800,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