COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Reid on 15 Dec 2009 09:28:15 PM

Title: Send report to email from prompt page
Post by: Reid on 15 Dec 2009 09:28:15 PM
We have a rather complex report with a number of required input prompts including some that are populated behind the scenes (hidden) by the system that is starting the report. We need the ability to add a custom javascript button to gather the prompts, run the report in the background, and email the result as an attachment (csv, xls, etc.). We could certainly accomplish the email and background execution through scheduling the report but due to the hidden required prompts, this isn't possible since those values are not known if we use the scheduling interface. I've searched through as much of the existing javascript as I can find and while some of it looks promising, so far nothing has worked.