on 01-07-2015 2:11 PM
I created the necessary destinations in the account cockpit according to the WebIDE guide.(Proxy type:onpremise)
Image
I've set the sap hana cloud connector (Resources Accessible,virtual host).
I tried to extend Fiori APPS in sap cloud WEB IDE trial but while calling the index.html file in the extension app, I got the error message and doesn´t show the app images on the screen:
GET https://webidetestingklxwmu-s0012844326trial.dispatcher.hanatrial.ondemand.com/Component-preload.js 404 (Not Found)
GET https://webidetestingklxwmu-s0012844326trial.dispatcher.hanatrial.ondemand.com/sap/SD_INV_MON/Compon... 404 (Not Found)
GET https://webidetestingklxwmu-s0012844326trial.dispatcher.hanatrial.ondemand.com/sap/SD_INV_MON/Compon... 404 (Not Found)
Uncaught Error: failed to load 'cus/sd/customerinvoice/monitor/SD_INV_MONExtension/Component.js' from ./Component.js: Error: failed to load 'cus/sd/customerinvoice/monitor/Component.js' from /sap/SD_INV_MON/Component.js: 404 - Not Found
Hi Matheus,
Create Component.js and Component-preload.js files.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Santhosh,
The extension project is created with a Component.js file. The error that is shown in the console indicates the extension project couldn't reach its parent app and specifically to its Component.js.
Furthermore there's no need to create a Component-preload.js file. This file is meant only to improve performance, it is not mandatory. See here for more details:
Regards,
Michal.
Hello,
Can you tell me how your developer profile looks like? I have the same problem and my back-end user has a developer key and sap_all, sap_new.
Kind regards,
Richard
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thks for all,
I solve this problem, there was problem in my destination and user had not developer profile on the system
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is a course on openSAP starting this Wednesday. I hope this course will shed some light on this issue. Details of this course can be found here if you are not registered yet:
Build Your Own SAP Fiori App in the Cloud -
Gustav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matheus,
Leave about component-preload.js it won't affect extended project. Check the below document to mention parent project URL in extended application's component.js.
Regards ,
Sathish J
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matheus
Did you manage to resolve this issue?
Gustav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matheus,
I checked and I was able to run the extension project of SD_INV_MON app.
Can you please specify how you created the extension project?
Thanks,
Michal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.