Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I am creating a mashup application that contains all the published apps in a stream.
App Details :
Meta Details of the App :
I have got all these details by using their respective API's .
app is a variable with App ID
Dimension:
app.getList("DimensionList", function(reply1){
var str1,str2,str3,str4 = "";
$.each(reply1.qDimensionList.qItems, function(key1,Dim) {
var i=0;
str2+=Dim.qData.tags[i];
str1+='<tr><td>'+(key1+1)+'</td><td>'+Dim.qData.title +'</td><td>'+Dim.qData.tags+'</td><td>'+Dim.qData.info[i].qName+'</td></tr>';
i=i+1;
});
str3=str1.split('#').join('-');
str4=str3.split('=').join('');
$('#Dimension').append(str4);
});
Measure:
app.createGenericObject({
qInfo: {
qId: "MeasureList",
qType: "MeasureList"
},
qMeasureListDef: {
qType: "measure",
qData: {
title: "/qMetaDef/title",
tags: "/qMetaDef/tags",
expression: "/qMeasure/qDef"
}
}
}, function(reply) {
var mstr1,mstr2,mstr3,mstr4 = "";
$.each(reply.qMeasureList.qItems, function(key2, Meas) {
var x=0;
mstr1+='<tr><td>'+(key2+1)+'</td><td>'+Meas.qData.title +'</td><td>'+Meas.qData.tags+'</td><td>'+Meas.qData.expression+'</td></tr>';
x=x+1;
});
mstr2=mstr1.split('#').join('-');
$('#Measure').append(mstr2);
});
Can someone help me to get the table names and QVDs that is used in an app by using Qlik API's.
Hello Erik,
Thank you for the response. Can you please let me know how to use the Engine Functions to use it in Javascript in Mashup Application ?
If you could provide me a sample code for any one function used, it would be great to understand to make use of other functions too.
Thanks,
Pradeep