cancel
Showing results for 
Search instead for 
Did you mean: 

Question: Call OData Connector methods from View JS or XML

former_member671982
Discoverer
0 Kudos

Hello Experts,

We are working on a small proof of concept wherein we would like search the list of employees based on the employee code.  We are trying to connect to success factors (SF) backend here using OData.  The view.js file is developed using SAP UI5.  Now we are trying to call backend method which should connect to SF from JS in the event - 'on click' of 'search' button.

We have referred the benefits sample application already but the search in this is more of filtering rather connecting to backend on the fly.  It prefetching the employees list and filtering on the results table.  So, we could not get much of help here.

We know this is a basic stuff but as we are new to this framework, any references or pointers on this topic would be of great help.  Appreciate your support.  Thanks in advance.

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

you just have to instantiate an oData model with your backend url,

JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.ui.model.odata.ODataModel

Answers (0)