I'm trying to add fiori annotations so I can add new countries codes to Countries entity ( from'@sap/cds/common) .
Problem is that in Fiori preview I cannot see create button :

using CatalogService from './cat-service.cds';
annotate CatalogService.Countries with @( Capabilities.InsertRestrictions.Insertable : true, // Object Page Section UI.LineItem : [ { $Type : 'UI.DataField', Label : '{bi18n>objectType}', Value : code, ![@UI.Importance] : #High }, { $Type : 'UI.DataField', Label : '{bi18n>accessoryId}', Value : name, ![@UI.Importance] : #High }Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 5 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.