Quantcast
Channel: SCN : Unanswered Discussions - SAP for Mobile
Viewing all articles
Browse latest Browse all 5512

How to get data from backend in sup hybrid using generated hybrid js api

$
0
0

Hi All,

 

I have create a sup hybrid application.

 

When i am trying to get the data from back-end on the basis of primary key using generated hybrid app api, it is returning me null.

 

below is the code that i used:

 

function deleteDepartment() {

var dep = new Department();

dep.dept_id="2";

department_findByPrimaryKey( dep, "" , function(error)

{alert(error)});

}

 

 

 

hwc.processDataMessage = function

processDataMessage(incomingWorkflowMessage, noUI, loading,

fromActivationFlow, dataType) {

alert(incomingWorkflowMessage);

}

 

 

alert(incomingWorkflowMessage) is not showing anything.

 

Please help..

Also provide sample code.

 

Thanks


Viewing all articles
Browse latest Browse all 5512

Trending Articles



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