cancel
Showing results for 
Search instead for 
Did you mean: 

Export csv with empty field

yong_hu01
Explorer
0 Kudos

Hi,

we are building a CAP app to help user export a few data to csv. the child table data can be shown on the List page, however while exporting the data to csv files, the field of ExpressNumber is empty as the screenshot shown.

while checking the request/response from the oData service, the response body does include the child fields value, but it's empty in csv files.

Could you give me any suggestions to fix it?

here is the schema.cds sample

entity Express : cuid, managed { key ID : UUID @odata.Type:'Edm.String'; ... expressNumbers : Composition of many ExpressNumber on expressNumbers.parent = $self; ....}

here is annotation sample

{ $Type : 'UI.DataField', Label : '{i18n>ExpressNumber}', Value : expressNumbers.expressNum, }

Accepted Solutions (0)

Answers (0)