Skip to Content

How to reload the master and detail page at a go in SAP UI5?

Mar 17, 2017 at 03:53 AM


avatar image

I have a add functionality on my Master Page, on click of that functionality a dialog box opens and creates a new entry.After successful creation of entry I have to show it on View.Previously I usually used location.reload(true), but as this functionality is avoided in WEB IDE, I am searching for an alternative. I tried like this: On successful creation I again called onInit method but this helps me to load only the master page but not able to load the respective detail page details. I am newbie in this technology, please I require the valuable suggestions.Thanks in advance."Site Created Successfully");dialog.close();
This is the codeI have written in success response.
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Shilpa Ramamurthy
Mar 17, 2017 at 06:09 AM

Hi Hitesh,

Why don't you try a reload of the model?



10 |10000 characters needed characters left characters exceeded