on 08-05-2021 12:41 PM
Hi,
When generating a fiori elements app with fiori tools in VSCode the project is built based on the backend service metadata and annotations xml. Super.
But what if I want to change the UI annotations? Should I edit the xml in VSCode, or the CDS in the backend?
If I change CDS annotations, is there a way to "reload" the changes into my existing VSCode project or do I need to regenerate the app from scratch?
Thanks,
T
In addition to the above response on the manifest ( click on the manifest.json-->Click on Open Service Manager-->Click on refresh-->Sync ), in order to have the Auto-complete in the annotations file work, close then open Vs Code to have the changes reflected.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The refresh of metadata or annotation files is described at https://help.sap.com/docs/SAP_FIORI_tools/17d50220bcd848aa854c9c182d65b699/8182ff3b19574f038bd636b99...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, to be precise, the links describes how to refresh metadata or annotation files if you have updated them originally in the backend. Metadata always have to be edited at the original resource (being CAP or RAP based, remote CDS or local CDS).
Annotations can be redefined in a local file if originated from a backend system. But this is a per project or app decision: it might also make sense to adjust in the backend if you want to share the new definition with other apps.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.