Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3548

Automatic "GET" calls after "CREATE" - how to avoid this?

$
0
0

In my FIORI application, we are calling the oData service to CREATE a new entry in the backend, like in the below code. But after successful "CREATE" I can see through the F12 Network tab in Chrome, that a "GET" call is happening automatically. How can this be stopped? We want to avoid this "GET" call to backend.

 

var CallHistoryModel=this.getView().getModel(),context="",flag="no",passResponse="";

  CallHistoryModel.create("/CallHistorySet",oCallHistory,null,

  function success(oData,Response){

  passResponse=Response;

  CONSTANT.attendees=oData;

  flag="yes";

  context="CallHistorySet(Activityid='"+oData.Activityid+"',Accountid='"+oData.Accountid+"',Employid='"+oData.Employid+"')";

  },


Viewing all articles
Browse latest Browse all 3548

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>