Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I'd like to populate a .net dropdownlist with the IDs of every object on my Qlikview document
Is it possible to iterate through each item in the document with the javascript api? I can't find any examples of this
I'd do this so that a user on the asp.net website could dynamically select which graph they wish to display on their home screen of the website
thanks
Jake
Hi Jake,
As far as I am aware you can't. You would need to loop and evaluate each object type, but that's not pretty.
Good suggestion though, I'll add it as an idea!
2 years later but you could call the methods GetAllSheetsAndObjects(callBackFn) or GetAllObjects(callBackFn).
Something like,
Qv.GetCurrectDocument().GetAllObjects(function(obj) {
//work with obj
})
OR use the - prj folder. XML file for each object in there...
Well almost at least as it won't contain objects stored in the shared file.
Not to mention that it seems a bit over the top to parse XML-files, cause I/O operations and granting system access to the application pool identity when the information is already available in the API you are currently operating within.
Just saying
Just thinking laterally...