Hi all,
I am trying to loop through values of single select value prompt via javascript in cognos analytics 11.0.6. (Interactive mode=yes). I am able to get only first value. In 10.2.2 , I was able to do this by
var f = getFormWarpRequest();
var list = f._oLstChoicesprogramsCaptionVP; and then using option on list.
In 11.0.6, I am doing like this :
var ControlprogramVPFinance = oControlHost.page.getControlByName("programVPFinance");
var valuesprogramVPFinance = ControlprogramVPFinance.getValues(true);
when I try to loop through 'valuesprogramVPFinance ', it gives only header text value, not going through actual values of data item in value prompt.
How can I access actual values of data item in value prompt ? Any help is much appreciated