jquery - Can I use SAP UI5 mockserver without having a oData model -


backend : jersey backend frontend : sapui5 application json model

i use jquery.ajax() calls make requests backend. mock these requests , load mock data quick poc.

the mockserver provided sapui5 seems work odata model. can used json models? https://sapui5.netweaver.ondemand.com/#docs/guide/bae9d90d2e9c4206889368f04edab508.html

thanks in advance.

for json models don't need mockserver actually. in component.js try load json model below

var omodel = new jsonmodel(uritojson); this.setmodel(omodel); 

uritojson link mock file

ivan


Comments

Popular posts from this blog

java - unable show chart in xls document using jasper reports -

java.lang.RuntimeException: Could not generate dummy secret at sun.security.ssl.RSAClientKeyExchange.<init> -

javascript - How to change image src on success AJAX -