on 06-30-2016 11:42 AM
Hi,
I am not able to do extension for any of the SAP FIORI std. apps which we have in our SAP ABAP repository from SAP WEB IDE. I am able to create an extension project for std. SAP FIORI app, App is getting imported and extension project getting created in my SAP WEB IDE work space. but in the Extensibility Pane, the app is not getting loaded. I have checked in the console as well as network tab, getting below msgs.
Component.js - for extension project getting created in SAP WEB IDE. below is the screenshot.
Kindly help on the same.
Regards,
Amit Anand
Any luck Amit Anand? Did you find a fix to this problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit,
I think in the index.html,
The path for the component.js might be mistake.
Thanks,
Deepak Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please attach the entire console log and also the entire network trace as HAR file with content (simply right-click the trace in Chrome's Developer Tools and choose to save it as HAR).
Also please check what happens if you don't run the extension project in the Extensibility Pane, but rather run it as Web Application.
Regards,
Michal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit,
The logs are showing that the extended app can't locate the Component.js of the original standard app.
When I created an extension project for MM_PURDOC_LIST, the path to the Component.js of the original app was created as: "/sap/bc/ui5_ui5/sap/MM_PURDOC_LIST" (in the Component.js of the extended app).
In your screenshot I see it is different.
Can you change it and run it again?
Was it generated this way or did you change it?
Regards,
Michal.
Hi Michal,
I have tried with change of path for component.js as "/sap/bc/ui5_ui5/sap/MM_PURDOC_LIST", but still getting same issues.
and by default it has been generated like this path "/sap/MM_PURDOC_LIST".
PFB the screenshot for the same.
''
Not able to understand the what is the prob here. kindly try to help on this ASAP.
Regards,
Amit Anand
Hi Michal,
I have just spent the weekend with the local trial version of web ide , and have been running into this exact same problem. ( can't find the component.js of the original app when running it in web-ide) .
I have been able to go ahead and extend the ui part of the app which I wanted to, and it works in the FLP, but- I still havent got the preview mode working. Did you manage to figure out what the issue is here?
Any help is much appreciated.
Regards
A
Its the Display Customer Balances app, ( https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('F0703') )
"version": "3.1.3",
"buildNumber": "28",
"buildId": "2015-11-19_16-23-20",
Nope, no specific version in the neo-app.json.
Backend version of UI5 is 1.36.1
I have now also tried the same using the HCP webide with cloud connector setup but I still cant see the actaul app in the Extensibility Pane. In the console there are the following errors:
VM301 sap-ui-core.js:126 GET http://localhost:61948/appconfig/fioriSandboxConfig.json 404 (Not found: http://localhost:9090/file/xxxx-OrionContent/FIN_CUST_BALExtension/appconfig/fioriSandboxConfig.json)
VM301 sap-ui-core.js:174 Uncaught Error: failed to load 'fin/ar/balances/display/FIN_CUST_BALExtension/Component.js' from ./Component.js: Error: failed to load 'fin/ar/balances/display/Component.js' from /sap/bc/ui5_ui5/sap/FIN_CUST_BAL/Component.js: SyntaxError: Unexpected token
) .
Thanks for having a look.
Regards
Adam
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.