Loading External Libraries in SAP UI5

External libraries can be inserted using a file in a normal script tag. SAP UI5 also supports JQuery so it can be done by extending your heading from the controller.

var s = document.createElement("script");
s.type = "text/javascript";
s.src = "http://domainname.com/somescript";

You can also add any external file using the following command −


You can navigate to the following path for more details−


Updated on: 12-Mar-2020

1K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started