Skip to Content

SetData and LoadData together for JSONModel

Oct 22, 2016 at 11:33 PM


avatar image
Former Member

Hello SAP gurus!

I need your help to answer a very simple question as for me, but I can't find the right answer.

I have the following coding in my SAP UI5 application Controller:

var data1 = {
	"myDate": new Date()



Where products.json - just a simple data table.

And I can see only products.json data on the screen as a result, and myDate with empty value inside oModel(checked in debugg).

In case I comment loadData string, myDate value is on the screen and looks good.

How I can use them together? What is the best practise for such cases?

Thansk you a lot in advanse!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers