Showing results for 
Search instead for 
Did you mean: 

JSON model loading after the view is rendered, thus leaving the view blank

0 Kudos

I am facing a problem in sapui5 where my view is loading before the model maintained in the manifest.json is pulling data from the given json file and because of this the view is rendering blank. I have to refresh the page manually for view to wait for model to load before the view is rendered. I have used attachRequestCompleted function on the model to get model data but sometimes while navigating from one view to another I am facing this issue. I have also maintained preload: true for model in manifest. I can see the json file loading in the network tab. How can I solve this issue, does anyone have any idea?

View Entire Topic
Active Contributor
0 Kudos




either of them should make your view updated.