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

Hello All,

Object page header title "Unnamed Object" does not get overwritten with below annotation. I would like to assign the "up_product" value to it. Could you please share your comments why would that be?

screenshot-2023-10-03-at-131119.png

schema.cds:

entity Product : managed 

{ key id            : UUID; 

key product       : String; 

productDetail : Composition of many 

{ key id               : UUID; 

plant            : String;  

planGroupKey     : String;  

planGroupCounter : String; } 

}

annotations.cds:

annotate service.Product.productDetail with @(UI.HeaderInfo:

{ TypeName : '{@i18n>productDetail}',

TypeNamePlural: '{@i18n>productDetails}',

Title : { $Type: 'UI.DataField', Value: up__product }

});

Best,

Merve

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

I dont think you need @

try to use: TypeNamePlural: '{i18n>productDetails}',