Hi,
I am a newbie to Cognos and trying to learn the ropes.
I have a problem with drop downs we have in a portal object or Dashboard. These performance charts have drop down to change display values for graphs. We need to display the most current event and semester in the chart at first load. Since I do not know these at design time I cannot hard code these.
I got some java script from web and was able for the drop down to show values I need it to display but cant seem to "submit" it when chart is displayed. Chart which is displayed is using the "default" values which I have hard coded to prevent the prompt page to be displayed since the values from drop down are required and are used in queries.
Thanks for all the help in advance.
Here is my javascript so far:
<script language="javascript">
var f = getFormWarpRequest();
var list = f._oLstChoicesSnapshotEventWeek;
list.remove(1);
list.remove(0);
list.removeAttribute("hasLabel");
f._oLstChoicesSnapshotEventWeek[0].selected=true;
</script>