0
votes
1answer
72 views

JayData - OData query gets “$data.Object not convertible to $data.ObjectID”

I've created an OData Endpoint with Node by using odata-server module by JayData in this way: require("odata-server"); $data.Entity.extend("Service", { Id: {type: "id", key: true, computed: true, ...
0
votes
1answer
43 views

Problems with jaydata basic authentication

Jaydata & Javascript noobie. I'm having problems with jaydata and basic authentication, can't seem to get it to work. I specify user and password but the headers never contains an auth line. ...
1
vote
1answer
66 views

OData - Strange index with MongoDB [Mongoose: Cast Error]

I have some MongoDB documents with this schema: Id: {type: "id", key: true, computed: true, nullable: false}, Name: {type: "string", nullable: false, maxLength: 50} and these documents are exposed ...
0
votes
2answers
43 views

Authentication with Jaydata and ASP.NET OData with Identity

I'm trying to access my OData server using ASP.NET Identity for authentication. Is there a possibility to do that with JayData? Unfortunately, there's almost no information about that throughout the ...
2
votes
1answer
180 views

OData Jaydata - odata update request returns error 404 (SAPUI5, node)

I'm building a web application with SAPUI5 which makes available a list of services, that are stored in a MongoDB and available as OData. I followed this guide ...
0
votes
1answer
32 views

JayData JSON decode error

I have JSON objects coming back from ASP.Net oData services which I am reading through JayData oData provider. On one service, JSON object is read into an array without any problems. On another ...
0
votes
2answers
36 views

Filtering on navigation properties for a set of value with toLowerCase

I have this JayData query (it can be checked at JSLQ playground): northwind.Products .filter( function( product ) { return product.ProductName.toLowerCase() in ['tofu']; } ) .toArray( ...
2
votes
1answer
231 views

CRUD edit with JayData and AngularJs

I am trying to create a basic CRUD application using JayData, AngularJS and OData Web Api. I have got so far as creating a List view and an Edit view and when clicking on the Edit option for an item ...
0
votes
1answer
37 views

Should I use JayData in MVC 4 with WebApi and OData

My manager told me to do research on jaydata as dataservice for performing CRUD operations. I am exploring jaydata from last two weeks. My requirement is that I have WebApi Controllers at server ...
1
vote
2answers
63 views

Jaydata web api with OData provider — provider fallback failed error

I'm developing an application with jaydata, OData and web api. Source code is given below: $(document).ready(function () { $data.Entity.extend('$org.types.Student', { Name: { ...
0
votes
0answers
46 views

Updating record with jayData using .include

I have some problem using jayData. I have table A, and it have relation 1:1 with table B, and relation 1:n with table C. When i load entity, i use : dbContext.A.include(B).include(C).single( ... get ...
0
votes
0answers
104 views

JayData oData request with custom headers - ROUND 2

Few month back I was working on some Odata WCF project and I had some problems with parsing custom headers for token auth (apiKey). At that time, being quite a noob (still am!), I posted this SO ...
0
votes
0answers
17 views

Jaydata odata-server lifecycle hooks

I'am trying to hook into the onReady of my context on serverside odata. I tried this so far: $data.createODataServer({ ready: function(){ console.log('Ready'); }, type: Context, ...
1
vote
1answer
121 views

Jaydata update not working correctly for webapi v2 odata

I have initialized a jaydata context: $data.initService('/odata/$metadata', { dataServiceVersion: '3.0' }).then(function (context) { if (!mycontext) mycontext= context; //this is a ...
1
vote
1answer
118 views

JayData incorrect behaviour with WebApi v2 Odata during entity update the Patch endpoint get invoked

While trying to update the entity, JayData triggers the PatchEntity method on the WepAPI backend. I find this as an invalid behaviour as for the UpdateEntity should be invoked. The add and delete ...
0
votes
1answer
51 views

Use Jaydata with NTLM autentification OData Service

Can I autorised by NTLM protocol if I use Jaydata? And how can I do this? I look into oDataProvider.js and see only Basic autentification possible. if I try autorise as in examples ...
2
votes
1answer
105 views

JayData reading from OData controller throws ODataContentTypeException

I have an ODataController which seems to work fine if I just do a GET through my browser. But when I use JayData to read I get a 500 back. I can see GetItems() being called in my ODataController and ...
0
votes
1answer
353 views

First JayData query with Angular and Odata

I am trying to display data from an Odata Web Api controller using JayData and Angular. I have managed to get to the stage where the data is returned in Firebug, but I can't get the data into my ...
0
votes
1answer
64 views

OData/Jaydata where…in query

I'm building a SPA that communicates with a tomcat server that exposes REST services using the Odata protocol. The queries are created using the Jaydata framework. I need to make a query like this: ...
0
votes
1answer
55 views

Binding jaydata entities to ko observable (also included ones)

I am using the jaydata ko modul to load an oData entity into a koObservable. Details are described here. I'm using the following code: self.productgroup = ko.observableArray(); ...
0
votes
1answer
158 views

How to develop a JayData query based on OData provider with any-all support for list{String}

Consider the following JayData entities: var Todo = $data.Entity.extend("Todo", { Id: { type: "int", key: true, computed: true }, Task: { type: String, ...
0
votes
1answer
112 views

How do you configure JayData to send POST/PUT instead of MERGE/PATCH

I'm using a KendoUI grid to display some data. I'm using JayData to simplify the CRUD operations. When I edit one item in a row and then click on update, it sends a MERGE Verb instead of POST. Right ...
6
votes
2answers
296 views

Jaydata with .net Odata Server

I am working on jaydata as client and .net odata as server but when i request Server it gives me error of 501 not implemented and when i search out for it the issue was CORS [Cross Origion Resouse ...
1
vote
0answers
126 views

Updating many-to-many relations in JayData

My OData model contains a pair of entities with many-to-many relationship (Parents-Children). I am trying to add a child entity to a parent's Children navigation property, but calling saveChanges() ...
1
vote
0answers
91 views

Content-ID references in ASP.NET OData batch requests

I have an ASP.NET WebApi OData service, and I am trying to consume it from JavaScript using JayData. My model is as follows: class Parent { ICollection<Child> Children; } class Child { ...
0
votes
1answer
129 views

Jaydata Odata Unknown expression type to handle: EntitySetEx

I get this error: "Unknown expression type to handle: EntitySetExpression" when trying to filter or order on an Odata navigation property. App.store.Person.include('Friend') .filter("it.age ...
1
vote
2answers
185 views

JayData inverseProperty

I have inverseProperty on my JayData entity: 'User': { 'type': 'RavenDBMembership.User', 'inverseProperty': '$$unbound' }, I would really like to be able to use it, but don't now how.. As much as ...
-1
votes
1answer
291 views

Large dataset/Response will hang server in rest service (with node.js JayData OData Server)

As we are building a data feed REST service with node.js and MongoDB/Express, it works very well when the query result is small. But it will hang the server when the client query a large dataset, such ...
1
vote
1answer
50 views

Create a filter on arbitrary properties dynamically

Example of what I'd love to be able to do: query.filter(function (person) { return person[this.field] == this.value; }, { field: 'FirstName', value: 'Lea' }); This throws an exception ...
1
vote
2answers
371 views

JayData. OData v.3 Action POST parameters received as null

My OData POST Action receive the parameters as null because it gets them from JayData client as part of the body and is expecting them as part of the URI. I have created an OData service based in WCF ...
1
vote
1answer
387 views

Jaydata and Odata- HTTP Request Failed

I have my own custom server to expose data from an XML file. I can browse through it in whichever browser of my choosing and I can query the data in Fiddler, but Jaydata (or one of its building ...
0
votes
1answer
198 views

Using JayData with dynamic init

i am new with JayData, i have an OData service which i want to consume with JayData i have this function $data.initService('/odata') .then(function (context) { // manage ...
0
votes
1answer
122 views

Jaydata .forEach only iterating 50 times

My Jaydata and OData endpoint are completely functional. :) When I have a database with less than 50 entries, everything works perfect. But for ALL of my databases with 50+ entries, JayData's ...
3
votes
2answers
145 views

JayData not populating objects from OData

I have a working OData endpoint where I can look at individual datapoints. (For example, localhost/myData/person(10) has the data of the 10th person.) However my objects' values in my JayData ...
0
votes
1answer
453 views

Unable to parse odata json responses containing root property “d” using wcf client services 5.3 generator

I am starting this new thread as a continuation of comments in: Consume Odata Service and get result in JSON The issue that I am facing is that I have upgraded to wcf data services 5.5 and wcf client ...
0
votes
1answer
170 views

GeoLocation data type incompatibility between odata service and it's .Net generated client side proxy

I am trying to do a proof of concept with the odata compliant cloud database feature of JayStorm. So far it's going great, but I have one big problem that fits in the category of odata service client ...
1
vote
0answers
205 views

call to odata webservice returns 401 using jaydata.js

I make a call to an odata webservice using jaydata.js but it returns 401 Unauthorized. Even if browse to the service and authenticate first manually in a second browser tab, is still get 401 in the ...
1
vote
1answer
490 views

Breeze.js : how to store an entity relation using the OData adapter

My goal is to persist a simple relationship between two breeze entities on my OData server. I've setup a server, I am able to: insert data query data create a relation between two entities ...
0
votes
1answer
228 views

Breeze & OData: Trouble expanding a collection

What works: In Breeze I can execute this query: Q1 breeze.EntityQuery.from('accounts').where('id', 'eq', account_id) which results in this request: R1 ...
1
vote
1answer
533 views

How can I get Breeze to query $metadata instead of Metadata?

I set up my odata service with Node, MongoDB and JayData. When I hit http://localhost:8000/odata/findash.svc/$metadata in my browser I get the metadata exactly as I would expect. In the browser ...
0
votes
1answer
127 views

OData, JayData, and node.js: Cannot find ExpressionVisitor.js

I ran npm install odata-server, but calling require('odata-server') fails with the following: Using JayLint for code parsing module.js:340 throw err; ^ Error: Cannot find module ...
2
votes
0answers
217 views

JayData create entity with relation

I want to create an entity, lets say 'connection', between two existing entities. So far I have this: BusinessLayer.context.DefinitionSet.attach(existingDefinition1); ...
3
votes
1answer
622 views

Missing inverse property in asp.net webapi odata $metadata

have very simple relationship between two entities and I am trying to expose them with asp.net webapi odata controllers but it seems that something is wrong with $metadata. When I run ...
1
vote
1answer
500 views

How to Generate Typed Data Definition for Web Api Odata

I have read this document "http://jaydata.org/blog/how-to-use-jaydata-with-asp.net-web-api---i" and it shows a very clear and simple way to user web api odata, but in this example, all the data types ...
0
votes
1answer
187 views

JayData create object not working as expected

I find it very hard to find any info about this so I'm asking it on SO. I want to create a new "Connection" with the JayData Entity API. A Connection has 2 DevicePorts, both linked with a Device and ...
0
votes
2answers
586 views

Backbone Jaydata Odata

I have an OData(v3) endpoint that will be used with a mobile Backbone application. I am trying to integrate Jaydata to avoid building the OData queries. I am still developing my Backbone skills and ...
2
votes
4answers
731 views

How to customize the OData server using JayData?

I'm quite new to JayData, so this may sound like a stupid question. I've read the OData server tutorial here: http://jaydata.org/blog/install-your-own-odata-server-with-nodejs-and-mongodb - it is very ...
1
vote
1answer
300 views

How can I retrieve an entity by key without using filter with JayData

JayData has a method on EntitySet called find(keyValue, cb). However, this method translates to the following OData query: http://localhost/api/MyEntitySet?$filter=(Id eq 1)&$top=2 Why doesn't ...
1
vote
2answers
620 views

Using JayData to filter Header Detail Table - Inner Join SQL, oData

Hello Am kinda new and using JayData and oData so please forgive my ignorance. This is my object structure : $data.Entity.extend('PlannerModel.vMasterPlanner', { 'Sequence_Number': { ...
1
vote
2answers
477 views

JayData with WebAPI and OData doesn't run callback

I'm using the latest version of JayData with the RC for Asp.Net WebAPI OData. When I run the JavaScript function to fetch data from the server, I can see the request and response with JSON data. ...