This is CDAjs website.

CDAjs is a stand-alone javascript library for working with Pentaho Community Data Access plugin.

Powered by latinojoel  

Learn about CDAjs

Awesome utility.

Possibility using in two scenarios (Node.JS and Browser clients).

Node.JS

CDAjs is compativel with node.js. Check in out on this link.

Web Apps

CDAjs is compativel for browser clients. Check in out on this link.

Create amazing analysis

With CDAjs + CDA + Pentaho feel free to analysis your business.

Node.JS Sample

												
var cda = require("cdajs");
exports.list = function(req, res) {
  var obj = new cda.CDA({
    url: "http://localhost:8086/pentaho/content/cda/",
    username: "joe",
    password: "password",
    error: function(error) {
      console.log("Error: " + error);
      return;
    }
  });
  obj.doQuery(function(xhr) {
    res.send("Result Set: " + xhr.resultset);
  }, {
    params: {
      dataAccessId: 3,
      pageSize: 0,
      pageStart: 0,
      path: "%2Fairc%2Fexecutivo%2Frecursoshumanos%2Frecursoshumanos.cda",
      sortBy: ""
    }
  });
};
												
											

JavaScript Sample

												
 var obj = new CDA({
	url: "http://localhost:8080/pentaho/content/cda/",
	username: "joe",
	password: "password",
	error: function(error) {
	  console.log("Error: " + error);
	  return;
	}
  });
  
  obj.doQuery(function(xhr) {
	document.getElementById("data").innerHTML=("Result Set: " + xhr.resultset);
  }, {
	params: {
	  dataAccessId: 1,
	  pageSize: 0,
	  pageStart: 0,
	  path: "%2Fairc%2Fexecutivo%2Frecursoshumanos%2Frecursoshumanos.cda",
	  sortBy: ""
	}
  });
  
												
											

Get in touch!

Feel free.