cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello Team,

I have created CAP project and getting Path does not exist error while creating Facet using Annotation @UI.LineItem. I have created Association and trying to access it in Facet using @UI.LineItem. I have attached data-model.cds,cat-service.cds and fioriAnnotation.cds file.

Kindly Suggest.

0 Likes
View Entire Topic
maryana_naboka
Product and Topic Expert
Product and Topic Expert
0 Likes

The error "path does not exist" indicates that the annotation or property referenced in the annotation does not exist. In this case, there is no LineItem annotations applied to the entities representing OrderLog and Cleaning. When you annotate these entities with UI.LineItem annotation, the error will disappear.

You can use the code completion (Ctrl+Space or CMD+Space) to apply annotations on the entities either inline or with the annotate directive. For more details, see https://cap.cloud.sap/docs/advanced/fiori#fiori-annotations