COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: Robl on 19 Mar 2015 10:24:59 AM

Title: HTML Item; Source Type Data Item Value
Post by: Robl on 19 Mar 2015 10:24:59 AM
I have a simple bit of HTML that seems to work;
The two items are either side of the data item in a crosstab and it makes the cursor a pointer, removes the underline and gives a popup label of "Go to Detail".

<p style= "text-decoration:none;
cursor: pointer;"
title="Go to Detail"
>

and

</p>


I want to change the functionality so that instead of "Go To Detail" I can add a data item in there.
My first step was to put the first part of HTML into a query item and then set the html tag to source type 'Data item value' and reference the data item.
But it failed.
So I put the html in quotes, then it didn't crash, but didn't seem to work.

I guess the question is one of two parts;
What do I need to do to get that HTML to work as a data item if not quotes?
Is there a more sensible way to do what I want to do?