Questions tagged [datajs]

datajs is a cross-browser JavaScript library that enables data-centric web applications by leveraging modern protocols such as JSON and OData and HTML5-enabled browser features. It's designed to be small, fast and easy to use.

datajs is a new cross-browser JavaScript library that enables data-centric web applications by leveraging modern protocols such as JSON and OData and HTML5-enabled browser features. It's designed to be small, fast and easy to use.

Supported OData version(s): V1-V3

Features:

  • Wrappers for creating OData GET, POST, PUT, MERGE, DELETE, and batch requests
  • Store API provides a common abstraction over a few data storage mechanisms
    • In-memory
    • DOM Storage
    • IndexedDB Storage (experimental)
  • Cache API provides a simple way of reading large paginated results into the browser
52 questions
0
votes
0 answers

No Auth Header with DataJS Request

I am making calls to a WCF service using dataJS. As shown in the code below, I pass through Username and Password, but when debugging or monitoring the request on Fiddler, I see no authorization header or any trace of the username and password. var…
Dave
  • 351
  • 3
  • 12
0
votes
2 answers

Unable to get value of the property 'parse': object is null or undefined

I'm trying to make a connection and download anything using oData format. The URL pointing to a service that I'm using returns a nice oData-ishly looking document. Now, I'd like to read in those contents into my JavaScript method and play with it…
Konrad Viltersten
  • 36,151
  • 76
  • 250
  • 438
0
votes
1 answer

No callback executed on `read` and an error received (exception thrown and not caught)

In CRM Dynamics I'm executing the following code. I've tried to put it inside a try-catch statement to catch the allegedly uncaught exception but it makes no difference. I'm guessing that it occurs inside CRM server, C# code or something like…
Konrad Viltersten
  • 36,151
  • 76
  • 250
  • 438
0
votes
1 answer

How do I use an external Javascript library in CRM Dynamics?

I'll be doing some REST-ing and oData-ing so I got the executable from DataJS project. I've added the file datajs-1.0.3.min.js as a web resource and my own qwerty.js as another one. So, I've ended up with two web resources…
Konrad Viltersten
  • 36,151
  • 76
  • 250
  • 438
0
votes
1 answer

Can datajs read non-odata services

I have a wcf service hosted in sharepoint that retunrs a list of objects. Its a not a wcf data service, just a 'regular' wcf data service. Can data js read dta from a 'regular' wcf data service?
RussGove
  • 322
  • 5
  • 18
0
votes
1 answer

Get data from OData with datajs and save to sqlite in phonegap

I am developing an app in phonegap which get data from OData with datajs and save it to sqlite. datajs works fine, but when I try to save data to sqlite I get the error " E/Web Console(11533): Uncaught Error: INVALID_STATE_ERR: DOM Exception 11 at…
Jorge
  • 67
  • 9
0
votes
1 answer

odata datajs CRUD operation fails in IE (OData)

I have this code below, which adds a new "Activity" in my "activity" table/entity thru WCF Data Services. Now all is fine and dandy when I run this in Chrome and Firefox, but in IE10 it responds with the following…
Thato
  • 128
  • 1
  • 7
1 2 3
4