Skip to Content

FioriClient -> Problem with js/index.js

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Feb 23, 2016 at 08:14 AM

    You can look for more errors. In xcode debug screen are you getting any other error also.

    Regards,

    Sarbjeet Singh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 14, 2016 at 01:30 PM

    Dennis ,

    I am facing the same problem . Did you resolve this ?

    Sreehari

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 15, 2016 at 12:08 AM

    Hi Dennis,

    My guess is your plugins did not load correctly or maybe it's not there in the project. Go to the Staging folder/www/plugins/, you should see list of plugins then look for kapsel-plugin-fioriclient. Otherwise look at rebuilding and try sudo cordova -d prepare instead. I've built it a number of times and did work without fuss. Check your logs as well in the client.

    Regards,

    Raj

    Add a comment
    10|10000 characters needed characters exceeded