Page build in HTML and wanted to load into JS view in SAPUI5 application.

HTMLWeb DevelopmentFront End Technology

The most commonly used way of doing this is to embed the HTML page as an iframe. Here is the example.

new sap.ui.core.HTML({
   preferDOM: true,
   content: "<iframe src='http://www.yourdomain.com'></iframe>"
});

It can also be loaded using AJAX call or display using sap.ui.core.HTML, but it will depend upon your HTML page.

raja
Ali
Published on 08-Feb-2018 14:57:40
Advertisements