Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 4 additions & 18 deletions guides/uis/fiori.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
impl-variants: true

---

# Serving SAP Fiori UIs
Expand All @@ -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**.

<div class="impl node">

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 <Config>cds.fiori.preview:true</Config>.

</div>

<div class="impl java">

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 <Config java>cds.index-page.enabled:true</Config>.

</div>
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.
Copy link
Contributor

@chgeo chgeo Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have aligned and thus simplified the wording for the 2 runtimes.
Before that, they also meant the same but expressed it in different words.


:::

Expand Down Expand Up @@ -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 <project> --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 <project> --nodejs --add sample`. To create a Java project use `cds init <project> --java --add sample`.


### From [Capire Samples](https://github.com/capire)
Expand Down Expand Up @@ -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

Expand Down