on 04-20-2016 5:22 PM
Hi,
I am trying to redeploy an application(Template-BUILD) from my webIDE to the HCP and I am not seeing the changes getting updated in HCP.
A little background,
I imported a BUILD project into WebIDE and deployed it to HCP without any problem. I wanted to remove a column from a table in my app. I made the necessary changes to the view.xml in WebIDE. Deleted the existing app in HCP and deployed the changed app from WebIDE. But I still see the original application when I click on the link in HCP.
I tried everything from deleting the app from HCP and WebIDE and starting from scratch with no change in result. Tried this a few times over and over sometimes renaming the application etc. I wonder if the HCP has a cache which is not getting updated.
When I run the application in WebIDE as ' run as web application', this is what I see,
But when I click on the application link in HCP link, the original table column is still getting displayed.
I do not understand where it picks the first column from because I do not see it in the code nor in the layout editor.
I have no prior experience with web applications and am trying all this out for the Fiori openSAP course develop challenge
Benedict
If you have a Component-preload.js file in your app, delete it and redeploy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Never mind...found this explanation
hi Benedict
Did you have any luck fixing this issue?
We are having the exact same issue and are looking around SCN for a solution before we raise our own question
thanks
Ross
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Benedict,
Can you attach your app so we can try and reproduce it?
Regards,
Michal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Additionally, I exported the application from HCP and checked the code with WebIDE and they both match. I even tried running the app on my phone with the same result. I am baffled about how this first column keeps showing in the application in HCP. Here is a screen shot of dev tolls in chrome when I did a 'inspect element' for the first column,
And here is the code for the view showing the column definition(does not have the first column),
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vikash,
Thank you for the suggestion. I tried your suggestion but the results are still the same.
I copied the existing application, renamed it, removed a few columns, renamed a few etc but the changes are only reflecting when I run in WebIDE but HCP still displays the original table. But the code import from HCP matches the code in WebIDE.
I don not want to spend too much time on this since maybe it could be a bug.
I will keep this discussion open for sometime to see in case someone else has the same problem which they resolved.
Hello Benedict,
Try to run the application after doing empty cache and Hard Reload from chrome using F12.
Regards,
Vikash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vikash,
I did run it in incognito tab and also I tried emptying cache and cookies from F12 > Resources. Nothing seems to work. Like I mentioned earlier, I even deleted everything and imported the BUILD and redeployed the application again in HCP using different name, but still the first column keeps showing up.
Strange, did you try application cache buster -
https://help.sap.com/saphelp_nw74/helpdata/en/ff/7aceda0bd24039beb9bca8e882825d/content.htm
BR.
Hi Ankit,
I came across this 'cache buster' in another discussion but I did not know how to use it.
I will add it to my index as mentioned below in the document,
Application Cache Buster: Configuration - UI Development Toolkit for HTML5 (SAPUI5) - SAP Library
But, there is some nore information in the document which I do not understand or know where to put.
Application Cache Buster: Index File - UI Development Toolkit for HTML5 (SAPUI5) - SAP Library
Your help on this is appreciated.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.