Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
hyperlink report
robinhisp
<p>Hi,</p><p> </p><p>I am Designing one hyperlink report, now it is working fine.but i want to write one condition on hyperlink heading.</p><p> </p><p><strong>Like District is hyperlink heading </strong>and i want to write the condition on district heading like </p><p> </p><p>if (district=="abc-districtname")</p><p>{</p><p>hyperlink will work</p><p>}</p><p>else{</p><p>hype link will nor work only heading displayed</p><p> </p><p>}</p><p> </p><p> </p><p>how to do please help me ASAP</p>
Find more posts tagged with
Comments
pricher
<p>Hi,</p><p> </p><p>The best way is to do it through scripting.</p><p> </p><p>In the onCreate event of your heading, use something similar to the following:</p><p> </p><p>[font="'courier new', courier, monospace;"]if( this.getValue() == "Canada" ){<br />
var myaction =this.createAction();<br />
myaction.setHyperlink("<a data-ipb='nomediaparse' href='
https://www.google.com/maps/place/'>https://www.google.com/maps/place/</a>"
; + this.getValue(), "_blank"); <br />
this.action = myaction;<br />
}[/font]</p><p> </p><p>In this example, if the value of the heading is "Canada", a hyperlink will be created, otherwise not. Please note that you don't need to create a hyperlink using the tool; everything is done in the script.</p><p> </p><p>I have attached an example as well.</p><p> </p><p>Hope this helps,</p><p> </p><p>P.</p>
robinhisp
<p>thanks picher this is very helpful for me.</p><p> </p><p>i have one more question now i installed Actuate11 for designing BIRT Report it is displaying Calendra on parameter window. how can i set up on my server and can we customized parameter window like (change color etc)? i am trying to to edit css file but is not saving.</p>
pricher
<p>If you have an Actuate 11 license, you can find information about modifying the look and feel of Information Console in the <em>Information Console Developer Guide</em>.</p><p> </p><p>P.</p>