Skip to Content
1
Former Member
Mar 02, 2017 at 01:20 PM

How to include custom UI5 library in Fiori App

1230 Views

Hi everyone,

I'm trying to create a Fiori App in Web IDE.
The problem is that I need to import my custom UI5 library.

Usually you would include your library by adding it to the resource root of your bootstrapping:

<script ...
data-sap-ui-resourceroots='{"myLibrary": "./res/myLibrary/"}'
data-sap-ui-libs="sap.m, myLibrary.something"
...></script>

But in Fiori Apps your index.html will be ignored.

So my question is where to include my library to use it in a Fiori App.

Kind Regards

Fynn