Advertisement
ignatov

Untitled

Oct 4th, 2021
1,967
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var oModel = this.getOwnerComponent().getModel("employee");
  2.  
  3. var oModel2 = this.getOwnerComponent().getModel("localJSON");
  4.  
  5. oModel.read("/employeeSet", {
  6.     success: function(oData, response) {
  7.     oModel2.setProperty("/employeeData", oData.results);
  8.  }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement