I am using CDE to create a Pentaho Dashboard. But I need to present the data in many ways where no component is useful. So I would like to use the Free Form Component to paint the data myself.
How do I access my data from the Free Form Component? For example, I'd like to loop the resultset, and for each row, write the data in some custom way.
But I don't know how to access the data from the query I defined in the Datasource. I tried:
function (dataset) {
for (var i=0; i < dataset.resultset.length; i++) {
Like I saw in some post-fetch example, but it didn't work.
I am finding almost 0 info on how to code anything CDE. Is there no API anywhere? Thanks for any help I can get.