Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

0 votes



2 answers

Permanent link
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

0 votes


Permanent link
Hi Jeff,
Thanks. I have already done the same, but these prompt macro pops up as text boxes while running the report. Acctually I wanted Project and Release dropdowns on the prompt page and then when user selects a value from the dropdown, that value should pass to sp parameter.
Hardik

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 04 '10, 1:11 a.m.

Question was seen: 6,308 times

Last updated: Aug 04 '10, 1:11 a.m.

Confirmation Cancel Confirm