Hello,
I found this article which properly explains a working way (I tested it), how to create a zip file of a "Hello.txt" file that the author creates with the function:
onPress: function(oControlEvent) {
var zip = new JSZip();
zip.file("...
Hello,
My code for the request is:
onInit: function () {
var oModel = this.getOwnerComponent().getModel();
var sPath = "/myPath";
var oFilters = [];
var filter = new Filter("Name", FilterOperator.EQ, "Fotios");
oFilters.push(filter);...
Hello all,
I am sure I tried every article on this topic but nothing seems to work so far. The issue is that my Table is not getting populated with data onSearch but only on the beginning.
Home.view.xml
<SearchField liveChange=".onSearch" id="...
This example works nice. How can I download several files from the OData service with an array of links instead of just creating a
zip.file("Hello.txt", "Hello World\n");
Let's say that I have the following links which I want to download in a zip
v...
I understand that this is not the right way to use promises in SAPUI5. What I want to show is that I want to call the odata service and then() call something and finally() do something else. How can I use promises with calls?
The following 3 lines in the success solved the issue:var data = new JSONModel();
data.setProperty("/List", oData.results);
that.getView().setModel(data, "Data")
And then the binding on the table was like this:<Table id="idAvvisiTable" items="{Data>/...