As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
Erich Specht
Kinvey.init({
appKey : '***',
appSecret : '***'
})
.then(function (activeUser) {
//fetch a model
var books = new BooksCollection();
var promise = books.fetch({
success: function() {
console.log("Success fetching books!");
},
error: function() {
console.log("Error fetching books");
}
});
});
However, if instead, I instantiate the books object like this, it doesn't work:
var books = new Kinvey.Backbone.Collection([], {
url: 'books'
});
The URL is all that is in the books collection. Shouldn't it work the other way as well? The info I was following is here:
http://devcenter.kinvey.com/backbone/guides/datastore#Fetching