Skip to Content

Fiori like app not working from Fiorilaunchpad

Hi All,

I developed the app based on the tutorial http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/8022ac87-1f60-3110-5383-fa68a91d7f8b&overridelayout=true

The apps works fine when run on the browser. But when I add it as tile in the fiori launchpad and run, it doesn't display any data. When i debugged the browser i see the below error.

https://mycompany.com/sap/bc/ui5_ui5/ui2/ushell/shells/abap/model/mock.json 404 (NOT FOUND)

https://mycompany.com/sap/bc/ui5_ui5/ui2/ushell/shells/abap/i18n/messageBundle_en.properties 404 (NOT FOUND)

https://mycompany.com/sap/bc/ui5_ui5/ui2/ushell/shells/abap/i18n/messageBundle.properties 404 (NOT FOUND)

Appreciate your help.

thanks,

Gopi

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Jan 29, 2015 at 08:44 PM

    Resolved.

    Instead of using "model/mock.json" use the full path "sap/bc/ui5_ui5/sap/zfiorilikeapp/model/mock.json" in the component.js

    Thanks

    Gopi

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 29, 2015 at 06:50 PM

    Hi Gopi,

    Did you import the any Project(ex: myFiori0 or myFiori10) from the Zip folder or have copy pasted the code.

    If you have copy-pasted the code from there in the Project folder there is a folder called Model and i18n which is missing in your project.

    Instead import the files from project folders(ex: myFiori10) into your project

    Hope this helps.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Kedar Tingikar

      Kedar Tingikar wrote:

      Try this:

      In index.html load the resources for Model and i18n using

      sap.ui.localResources("Model")

      sap.ui.localResources("i18n")

      Hope this helps

      Your solution is the better one because it works also in the local Eclipse Environment. Thank you!