If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

How to pass parameter values to url in hyperlink

Started by yogeswari, 27 Jun 2014 05:49:56 AM

Previous topic - Next topic

yogeswari

Hi All,

Could anyone tell me how to pass parameter values from prompts to url in hyperlink in report pages. 
Please reply me asap.

Thanks in advance.

Thanks,
Yogeswari.

BigChris

How are you creating your url/hyperlink at the moment?

Lynn

The link is to a Cognos 8 document and I've never found an updated one for Cognos 10, but much of this is applicable. See page 10 for your question in particular.

http://public.dhe.ibm.com/software/dw/dm/cognos/reporting/scripting_techniques/using_urls_in_cognos_8.pdf

yogeswari

I am unable to get back to you later then.
thank you both of you.

I have read the link documents. very difficult to understand.
If it is possible to do in cognos10 means pls let me know.

thanks in advance.

thanks.



Lynn

Quote from: yogeswari on 10 Jul 2014 08:09:09 AM
I am unable to get back to you later then.
thank you both of you.

I have read the link documents. very difficult to understand.
If it is possible to do in cognos10 means pls let me know.

thanks in advance.

thanks.


It is possible in 10. What don't you understand? Page 10 says the below and examples are shown on page 11:

QuoteWhen passing a prompt answer, be sure to append "p_" to the beginning of the
parameter name. For example, if your prompt name is Product name, then the
appropriate prompt parameter will be "p_Product name".

You can get the default action URL from the report properties by clicking the link "View the search path, ID and URL". Copy that and paste into your favorite text editor and add your desired parameters.

yogeswari

Hi Lynn,

Thanks for your prompt response.
Since i am fresher, i could not understand some of the concepts.  :(
As per ur advise, i have taken "View the search path, ID and URL" of the report and attaching for your references.
Please look into this and kindly tell me what are things that have to be modified because i am not able to modify the URL mentioned.

Parameter name: "p_param"

Thanks.

Lynn

Quote from: yogeswari on 14 Jul 2014 03:13:16 AM
Hi Lynn,

Thanks for your prompt response.
Since i am fresher, i could not understand some of the concepts.  :(
As per ur advise, i have taken "View the search path, ID and URL" of the report and attaching for your references.
Please look into this and kindly tell me what are things that have to be modified because i am not able to modify the URL mentioned.

Parameter name: "p_param"

Thanks.

Hmm....you've been active here for over a year. What concepts don't you understand?

I gave you the exact instruction in my earlier post and referenced the exact page number. I further mentioned were to find examples. One is an example of a single prompt answer passed in the URL and the one right after that is an example of passing multiple parameters.

If you parameter is named p_param (which is a crappy parameter name, by the way. It should be more descriptive) then you need to append "p_" to the beginning of the name, as the instruction on page 10 says. So you would need to put something like this in your URL: &p_p_param=WhateverAnswerYouWant





yogeswari

Hi all,

Thank you very much for your responses.
I tried it simple by using expressions and it is working fine.
thanks a lot. :) :) :)


thanks.