How to pass prompt values from Insight report to SP
RATIONAL INSIGHT:
I have created a stored procedure query subject in framework manager. The stored procedure accepts input parameters projectid and releaseid, which i want to pass from Prompt Page in Insight Report.Can anybody help me to link these?
Once I select a project and release on prompt page and submit, the stored proc query model should be exec and the report should be displayed from the result of sp.
I have created a stored procedure query subject in framework manager. The stored procedure accepts input parameters projectid and releaseid, which i want to pass from Prompt Page in Insight Report.Can anybody help me to link these?
Once I select a project and release on prompt page and submit, the stored proc query model should be exec and the report should be displayed from the result of sp.
2 answers
Hi,
When you create a query subject from a store procedure, the wizard should have shown you the input parameters for the SP. In the wizard, the "Value" column is the place where you specify the value you want to pass into the SP. To pass a parameter from a report prompt, you can use the prompt macro function. Here's an example of what your expression for the SP input parameters may look like:
#prompt('Project', 'token')#
#prompt('Release', 'token')#
Note that this assumes the parameter names used in your report is called "Project" and "Release".
Thanks,
Jeff
When you create a query subject from a store procedure, the wizard should have shown you the input parameters for the SP. In the wizard, the "Value" column is the place where you specify the value you want to pass into the SP. To pass a parameter from a report prompt, you can use the prompt macro function. Here's an example of what your expression for the SP input parameters may look like:
#prompt('Project', 'token')#
#prompt('Release', 'token')#
Note that this assumes the parameter names used in your report is called "Project" and "Release".
Thanks,
Jeff