COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Modtamod on 11 Feb 2008 11:45:28 AM

Title: Hyperlink Options
Post by: Modtamod on 11 Feb 2008 11:45:28 AM
Hello can somebody explain how Hyperlink works if I choose the source type as Data Item or Report Expression instead of Text URL. I also want to know if it is possible to have dynamic hyperlink. THanks
Title: Re: Hyperlink Options
Post by: almeids on 11 Feb 2008 12:54:18 PM
A data item or report expression source allows you define the Hyperlink from your query or from environmental/parameter values rather than with static text...and therein lies the answer to your second question.
Title: Re: Hyperlink Options
Post by: Modtamod on 12 Feb 2008 10:28:17 AM
is it possible to have a dynamic hyperlink to a local report?
Title: Re: Hyperlink Options
Post by: almeids on 12 Feb 2008 10:39:52 AM
Not sure; I'm assuming you mean to a Cognos report in your portal, so technically you could get there if you had the URL but getting it is the problem, maybe possible with the SDK.  Sorry, beyond my understanding.
Title: Re: Hyperlink Options
Post by: Suraj on 12 Feb 2008 11:47:38 AM
Explain dynamic hyperlink. What are you trying to do?
If your dynamic hyperlink means that the text in hyperlink changes, then 'Yes'.
You can set the text expression to a prompt selection and it'll change.
But if you want to pass different values when the hyperlink text changes, then you have to use multiple conditional blocks.
Title: Re: Hyperlink Options
Post by: Modtamod on 12 Feb 2008 05:29:53 PM
Ok this is the situation. I have a cognos report that shows a lists of different companies. What I wanted to do is to create a drill or hyperlink that when you click on a  particular company it will retreive or open a non cognos file like PDF (i.e partnership agreement file) that is located into a network drive. Since each company on my report will have different partnership agreement file I wanted it to pass the data item value in order to know which non-cognos pdf file will it open or retrieve. Is this possible?

Title: Re: Hyperlink Options
Post by: almeids on 13 Feb 2008 07:50:15 AM
Yes that should be possible, assuming you have the paths/names of the PDFs associated with the company names in your database.  I don't know what has changed in the Cognos 8 terminology, but set the text for the Hyperlink to the company name query item and the URL source to the PDF path/name data item.