html5sdk: issue with read operation using model API
I'm using html5sdk to read array of objects from a model, however the array returns empty, anything i can modify in the code to get it working:
var empModel = new $.cordys.model({ objectName: "App", fields:[ "identity","name", "crn", "consumption"], defaults: { namespace: "http://schemas/BASSEGASProject/App/operations", //dataType: "json", method: "GetAllApps" }, read:{ method: "GetAllApps" } }); empModel.read().done(function(response) { console.log(response);//empty array }).fail(function() { //alert('fail'); });
0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 107 General Questions
- 144 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 119 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management