Skip to Content
Sep 29, 2017 at 12:38 PM

Second call of "SetProperty" for ODATA Model is not working

526 Views Last edit Sep 29, 2017 at 12:39 PM 2 rev

Hi Experts,

I have a problem. I use OData Model (v2) as default model for my fiori application. it uses two-way binding. I also have a few controls, bind to the contexts of this model. When i change the data directly in controls (input fields) then all is working fine. But sometimes i need to change the data in model using "setProperty" method. It works perfectly once, but when i try to use this method second time, then it doesn;t work anymore... I should call submitChanges, and only then i will able to use setProperty once again. Does anybody know what is the reason of that behavior? And how can i fix it?

Best Regards,