Hello all,
I am looking for a solution to develop an application in SAP WebIde wich uses resources fron another application. So this question regards the development time locally in WebIde.
Szenario:
We have two SAPUI5 applications on a SAP On-...
In my simple CAP application I would like to load a PNG file from a thirdparty REST service and stream it to the FE application.
This should not involve the database.
The final requirement in the application is to load and display a dynamically g...
aData.forEach(function (data) {
new sap.m.Link({
text: data.text
press: (oEvent) => {
const sFunctionName = oEvent.< getYourActionNameHere >
this[sFunctionName]() // expect the function to be on the sa...
Hi sahud,might be an issue caused by your cds definition for return. You defined a simple LargeBinary Type. The browser doesn't know that he should display an image without the additional type parameter.@Core.MediaType: mediaType content: LargeBinar...
Hi Mahesh, thanks for your response. No I didnt know about the option to add libaries vie a right-click menu. Unfortunately WebIde does not show my application in the list (neither in Workspace nor in ABAP repository) to add. I guess because it is no...
Solved by using the underlying axios package to request the PNG file. srv.on("READ", "Image", async (req) => {
const srv = cds.connect.to("media");
// tx.get does not support responseType: stream therefore we use the underlying axios packag...