Skip to Content
Former Member
Sep 09, 2009 at 08:20 AM

Hyperlink opens a runaway number of windows



We have made an upgrade from XI 3.0 to XI 3.1 and after this upgrade we have a problem when a webi report use a hyperlink between two reports (webi). We have created 4 variables ([Link n]) that contains the code for use a hyperlink and then we have crated another variable that tests some conditions and show the right Link variable. When we click on link text in the table, a runaway number of windows are opened.

An example syntax the Link variable is:

="<a href=\"../../opendoc/openDocument.jsp?





&lsSDir.Centrale="URLEncode(""[Dir. Centrale])+"&lsSLivello=5

&sWindow=New\" title=\"Analisi Concorrenza\" target=\"_self\" nav=\"doc\">""►""</a>"

The syntax of the variable that tests what is the right Link variable is:

=If(Match([Filiale Codice];"33*")) Then If(DrillFilters([Dir. Centrale])="") Then [Link (1)] Else If( (DrillFilters([Dir. Centrale])<>"") And (DrillFilters([Dir. Commerciale])="") ) Then [Link (2)] Else If ( (DrillFilters([Dir. Centrale])<>"") And (DrillFilters([Dir. Commerciale])<>"") And (DrillFilters([Dir. Area])="") ) Then [Link (3)] Else If( (DrillFilters([Dir. Centrale])<>"") And (DrillFilters([Dir. Commerciale])<>"") And (DrillFilters([Dir. Area])<>"") And (DrillFilters([Dir. Divisione])="") ) Then [Link (4)] Else ""

What can we do?

Thanks in advanced.