on 01-18-2019 3:47 PM
hi everyone,
here was I tried to do :
i deployed my project to my SAP backend directly in webide. i did customizing to obtain my tile in fiorilaunchpad.
everything seems fine except that there is a problem since additionnal resources added to main project are not deployed this way (googlemaps).
I tried another solution : export the project to .zip and download it in back end with /ui5/ui5_repository_load.
unfortunately, since I did that :
- I couldn't deploy my project anymore from web ide. i obtain a message "Cannot read property 'indexOf' of undefined" in F12, I don't have much precision.
- my tile doesn't work. I have the message "Failed to load UI5 component for navigation intent #Z_EDFOA_C13-create - Error: failed to load 'Oa_solaire_C13/Component.js' from /sap/bc/ui5_ui5/sap/ZOA_SOLAIRE_C13/~D50A1DFAC1A8FF4FBBA44013490B4FB3~C/Component.js: 404 - NOT FOUND sap.ushell.renderers.fiori2.Shell.controller
I think that it is related to Component.js file not found with LPD_CUST customizing.
do I have to change something in LPD_CUST ? in SE80 my BSP doesn't have the same tree organisation as before.
component.js is in ZOA_SOLAIRE_C13/Fragments de pages/webapps and not directly at ZOA_SOLAIRE_C13/Fragments de pages as before.
can you help me please ?
here is lpd_cust screen copy :
additional information is the name of my project in component.js.
I finally found a solution.
you may find it Here
You only need to rename the webapp directory to WebContent.
without this solution, index.html is not retrieved.
thanks Pralat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What version are you on? You should have the choice of ui5, web dynpro and transaction in the target mappings.
Also check your bsp application in se80 whether it is on the root or a webapp folder.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you check in SICF that node ZOA_SOLAIRE_C13 is active?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krishna,
SICF is active,
without the hash, the resut is the same.
it seems that it is the program /ui5/UI5_repository_load which change tile mapping behaviour.
until now I haven't find a solution to my problem.
I had to create a new web ide project from scratch and implement each functionality one by one until I had something working.
deploying this project from web-ide and replacing previous version on back-end corrected the problem.
Hi Jakob,
thanks for answering.
what will you do instead of lpd_cust configuration in my case ? directly use url in tile configuration ?
I succeeded in correcting my project by creating a new one and implementing view per view until everything is like it was.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Whrn you deploy from webide it's your first folder that's deployed. When you export your project isn't build. So your path would be wrong. Also using lpd_cust is severely outdated. You should reconsider your approach to that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
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.