Displaying csv file from server in sapui5
问题 I have a server that is returning a csv file. I need to allow this file to be downloaded to the client side using sapui5. I am fairly new to it so I am having trouble handling the response. Any ideas would be much appreciated. Thanks in advance 回答1: You can check sap.ui.core.util.File save method. Working example below. sap.ui.define([ "sap/ui/core/util/File"]) sap.ui.getCore().attachInit(function() { "use strict"; sap.ui.controller("MyController", { onInit: function() { } }); sap.ui.xmlview(