Skip to content

Commit 5c38f2a

Browse files
renejeglinskychgeo
andauthored
Fiori Guide: remove toggle (#2393)
Co-authored-by: Christian Georgi <christian.georgi@sap.com>
1 parent b9dbd65 commit 5c38f2a

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

guides/uis/fiori.md

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
impl-variants: true
2+
33
---
44

55
# Serving SAP Fiori UIs
@@ -18,23 +18,9 @@ For entities exposed via OData V4 there is a _Fiori preview_ link on the index p
1818

1919
::: details Be aware that this is **not meant for production**.
2020

21-
<div class="impl node">
22-
23-
The preview is not meant as a replacement for a proper SAP Fiori elements (UI5) application.
24-
It is only active locally where the [development profile](../../node.js/cds-env#profiles) is enabled.
25-
26-
To also enable it in cloud deployments, for test or demo purposes maybe, set <Config>cds.fiori.preview:true</Config>.
27-
28-
</div>
29-
30-
<div class="impl java">
31-
3221
The preview is not meant as a replacement for a proper SAP Fiori elements (UI5) application.
33-
It is active by default, but disabled automatically in case the [production profile](../../java/developing-applications/configuring#production-profile) is enabled.
34-
35-
To also enable it in cloud deployments, for test or demo purposes maybe, set <Config java>cds.index-page.enabled:true</Config>.
3622

37-
</div>
23+
It's active by default, but disabled automatically in production. To also enable it in cloud deployments, for test or demo purposes maybe, set <Config>cds.fiori.preview:true</Config> for Node.js apps, or <Config java>cds.index-page.enabled:true</Config> for Java.
3824

3925
:::
4026

@@ -65,7 +51,7 @@ The SAP Fiori tools provide advanced support for [adding SAP Fiori apps](https:/
6551

6652
### Using [`cds add`](../../tools/cds-cli#sample)
6753

68-
Use `cds add sample` to add Fiori sample code to an existing project, or create a new one with `cds init <project> --nodejs --add sample`.
54+
Use `cds add sample` to add Fiori sample code to an existing project, or create a new Node.js project with `cds init <project> --nodejs --add sample`. To create a Java project use `cds init <project> --java --add sample`.
6955

7056

7157
### 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
812798
![Fiori UI with hierarchical tree view.](hierarchical-tree-view.png) {style="filter: drop-shadow(0 2px 5px rgba(0,0,0,.40));"}
813799
814800
The compiler automatically expands the shortcut annotation `@hierarchy` to the
815-
following `annotate` and `extend` statements.
801+
following `annotate` and `extend` statements.
816802
817803
### Manual Approach
818804

0 commit comments

Comments
 (0)