Skip to Content
1
Jun 12, 2020 at 01:07 PM

App models UI annotations

112 Views Last edit Jun 16, 2020 at 03:22 PM 2 rev

Hi guys,

in my app I have a Fiori frontend and I'm using an approuter. As the app directory can get a bit messy I wanted to differentiate between the app folder and the approuter. When I try to sort the app directory the UI annotations were no longer generated. Hence, the app was loading but it didn't drop a batch request.


I'm wondering if there is a way to split up the app directory (in approuter and the sub-directory webapp) and still be able to get the UI annontaions rendered.


current state:

app/<br>  browse/ (a directory with one webapp)<br>  manage/ (a directory with one webapp)<br>  common.cds<br>  index.cds<br>  fiori.html<br>  .env<br>  default-env.json<br>  default-services.json<br>  package.json<br>  package-lock.json<br>  xs-app.json

desired state:

app/<br>  .env<br>  default-env.json<br>  default-services.json<br>  package.json<br>  package-lock.json<br>  xs-app.json  <br>  webapp/
    browse/ (a directory with one webapp)
    manage/ (a directory with one webapp)
    common.cds
    index.cds
    fiori.html

Cheers,
Thorsten