Show TOC

Dynamic Loading of LibrariesLocate this document in the navigation structure

SAPUI5 provides sap.ui.getCore().loadLibary() to load libraries at runtime in addition to the libraries declared in the runtime configuration.

After loading, you can use all controls from these libraries. For these additional libraries the same restriction apply as for the declared libraries that document object model (DOM) access is only possible after document.ready. Also, rendering applies for these libraries in the same way as for the declared libraries.