on 12-11-2020 4:42 AM
Hi All,
I am working on Custom SAPUI5 Application Development. In my application i need to capture the OData Service Response for the Update operation. I followed the Demo Kit Walkthrough and set the Mesagemanager Fragment like that.
I enabled the Message Manager code in my controller like below.
//code for message manager ,set message model
var oMessageManager = sap.ui.getCore().getMessageManager();
this.getView().setModel(oMessageManager.getMessageModel(), "message");
// activate automatic message generation for complete view
oMessageManager.registerObject(this.getView(), true);
After my update process i need to call the Odata Service again based on my requirement, in this case the value stored inside the MessageManager Fragment get cleared.
But if i comment the servcie call, the messages are available inside the MesageManager.
I guess it is because of initiating Servcie Call again, so it refrshed. But i wnat thaty to be keep in my messagemanager unless i manually clear it.
Please help me to sort it out.
Thank yoiu,
Regards,
Jayakrishnan.C
User | Count |
---|---|
86 | |
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.