Skip to content

Latest commit

 

History

History
40 lines (20 loc) · 1.68 KB

overriding-annotations-2f1bb9c.md

File metadata and controls

40 lines (20 loc) · 1.68 KB

Overriding Annotations

The following is a list of steps of how to override back-end annotation to your local annotation file.

Overriding backend Annotations

  1. View the backend annotation details for your annotation.

  2. Click the (Copy) icon opposite the backend annotation. This gives you a starting point for extending or customizing your application. Use Maintaining Annotations with Language Server to maintain your local annotation file.

    If there is only one local annotation file associated to the service in the project, the annotation is copied automatically to that local annotation file. If there are multiple local annotation files associated to that service available in the project, you can choose which local annotation file you would like to copy the annotation to using the selection dropdown.

    Note:

    You can add multiple local annotations files to your project.

    Note:

    You can copy local annotations to and from local annotation files. You cannot copy local annotation to backend annotation files.

Creating Additional Annotation Files

  1. Right click on the manifest.json file and click Open Annotation File Manager.
  2. Click Create Local Annotation File.
  3. Enter file name, namespace, and select the intended file folder location.
  4. Click Create.

Note:

Additional annotation files can only be created for OData service and not CAP CDS.