cancel
Showing results for 
Search instead for 
Did you mean: 

Download file on FIORI app created through CDS

subhanshu_10
Explorer
0 Kudos

Hi All,

I have created the FIORI app using CDS annotation and I can see/use the FIORI app.
Now I want to put a download file button next to the setting button on FIORI screen.

on WEBIDE, I cannot see views and not sure I need to write a code in CDS or somewhere else.

Please guide me to fulfil the requirement.

Regards,

Subhanshu Shrivastava

Altarkawi
Participant

do you want a button that downloads the data of the table as Excel file?

View Entire Topic
Altarkawi
Participant

in the manifest file, you have to set following parameter to true

"name": "sap.suite.ui.generic.template.ListReport",
..
		"settings": {
..
			"useExportToExcel": true

and probably you might need to do "ADAPT UI Editor" from this blog

https://blogs.sap.com/2017/08/27/fiori-elements-export-to-microsoft-excel-via-the-ui-adaptation-edit.../

Best Regards,

Mohammed