- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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"; $("head").append(s);
You can also add any external file using the following command −
jQuery.sap.registerModulePath("ModuleName","http://Domainname.com"); jQuery.sap.require("ModuleName.jsFileName");
You can navigate to the following path for more details−
https://blogs.sap.com/2016/04/22/include-external-javascript-library-in-sapui5/
- Related Articles
- Loading 3rd party libraries in SAPUI5
- How to import external libraries in JShell in Java 9?
- Sorting List in SAP UI5 project
- Managing user sessions in SAP UI5 application
- Binding model to sap.ui.core in SAP UI5 application
- Binding OData service to SAP UI5 table
- How to place UI5 code in SAP NetWeaver Server?
- Loading an individual column in SAP HANA using SQL
- In SAP UI5 render calling two times in custom control
- Get access or point to SAP UI5 control
- Loading messages from Excel to SAP table T100
- Reading an image using SAP OData v2 in UI5 application
- Calling external programs using SAP connector
- Interfacing database to external parties in SAP system
- SAP UI5 application throws an error while using Tree map

Advertisements