on 01-18-2019 7:14 AM
oModel.read("ZHMSREQUESTPRINTSet('00000001')/$value", {
success: function(oData, response) {
var h = new sap.ui.core.HTML();
var oContent = '<iframe id="iframeContentPanel" ' + 'src="' + response.requestUri + '"width="100%" height="100%"></iframe>';
h.setContent(oContent);
*Panel Control*
var p = sap.ui.getCore().byId("p");
p.addContent(h);
},
error: function (oError) {
}
});
Is response.requestUri correct? If you run the URL in a browser does it download the file you are trying to render?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.