Take HTML to prompt page and paste the following code
<script type="text/javascript">
//get the form request
var fW = (typeof getFormWarpRequest == "function" ? getFormWarpRequest() : document.forms["formWarpRequest"]);
if (fW)
{
// if the report is running from reportStudio or the Portal objects are different
if (fW.elements["cv.id"].value == "RS")
{
setTimeout('oCVRS.promptAction(\'next\')', 1000);
}else{
setTimeout('oCV_NS_.promptAction(\'next\')', 1000);
}
}
</script>
<script type="text/javascript">
//get the form request
var fW = (typeof getFormWarpRequest == "function" ? getFormWarpRequest() : document.forms["formWarpRequest"]);
if (fW)
{
// if the report is running from reportStudio or the Portal objects are different
if (fW.elements["cv.id"].value == "RS")
{
setTimeout('oCVRS.promptAction(\'next\')', 1000);
}else{
setTimeout('oCV_NS_.promptAction(\'next\')', 1000);
}
}
</script>
this is not working in cognos connection in 8.4.
ReplyDeleteCould you please provide code for the same?