I am trying to embed a dynamic hyperlink that will take a value from the IWR (WorkOrderNumber) and pass it as a variable to a hyperlink. Based on Cognos' Knowledge Base, I should have a calculated field with something like (assuming that this whole thing is a Value/String)
If (char_length(WO)>1) Then ('<html><a href = ' + (WO) + '</a>'')
That is my interpretation of the below instructions. But when I run it and save as PDF, there is no Hyperlink. The above is simply text in that field. I have tried numerous variations and gotten nothing but frustration.
Within the Report select Query ->Data
Select Project_id and click the calculator button.
In the Calculation Definition create an if then else statement to the effect of:
if project_id = 10 then ('<html><a href="Repeat for desired values.
Run the report -> File -> Save As -> PDF you will see the hyperlink(s).
If (char_length(WO)>1) Then ('<html><a href = ' + (WO) + '</a>'')
That is my interpretation of the below instructions. But when I run it and save as PDF, there is no Hyperlink. The above is simply text in that field. I have tried numerous variations and gotten nothing but frustration.
Within the Report select Query ->Data
Select Project_id and click the calculator button.
In the Calculation Definition create an if then else statement to the effect of:
if project_id = 10 then ('<html><a href="Repeat for desired values.
Run the report -> File -> Save As -> PDF you will see the hyperlink(s).