Skip to Content
0
Feb 22, 2016 at 12:43 PM

FioriClient -> Problem with js/index.js

74 Views

Hi,

I tried to build a customized Fiori Client.

To do this is used the this Link Getting Started with Kapsel - SAP Fiori Client (SP09+)

My Problem is, that after i've build the App, it won't start.

/*jslint browser:true*/
/*global sap*/
(function () {
    "use strict";
    //add an event listener for the Cordova deviceReady event.
    document.addEventListener('deviceready', function () {
        if (cordova.require("cordova/platform").id === "ios")
        {
            StatusBar.backgroundColorByName("white");
            StatusBar.styleDefault();
            StatusBar.overlaysWebView(false);
        }       
        sap.FioriClient.loadByIndexPage = true;
    });
}());

I found out, that the sap.FioriClient (line 13, js/index.js) is undefined.

Has anybody had the same problem?

I didn't change anything and have followed the structures in the Tutorial.

Thanks for your help!

Regards,

Dennis