Multiple windows open with sWindow=New

Hello,

I tried to pass a value to a prompt in a child report using &lsS in the parent report. The link worked fine initially but when I put in sWindow=New in the link to make the child report open in a new window I seem to have made a mistake. Clicking on the link now results in the opening of n number of report (non-stop) and it never stops till I kill the parent report. Here is the variable definition I am using

="<a href=http://servername/opendocument.asp?sPath=Folder1&sDocName=Child_Doc1&sDocType=wid&sWindow=New&lsSPrompt_Text:="+[Parameter Object]+">"+[Parameter Object]+""

The parameter object here are IDs and clicking on the hyperlink showing the ID value should open the Child_Doc1 report in a new window giving further details about the ID.

Do you see any error in the link? I also tried Target=_Blank but couldn’t get the report to open in a new window.


jaigoose :us: (BOB member since 2008-07-17)

Hello,
maybe it’s something with the prompt defined in the child report…is it “=”, like you are passing here?
Regards


radiohead :portugal: (BOB member since 2007-04-13)

The “=” sign doesn’t seem to be a problem. The link works fine without &sWindow=New. When I put in sWindow to make the child report open in a new IE window, plenty of identical windows with the child report open.

The link works fine in Firefox though


jaigoose :us: (BOB member since 2008-07-17)

that’s weird :frowning:
i have a link that’s very similar, like:

="<a href=http://XXX/businessobjects/enterprise115/InfoView/scripts/openDocument.aspx?sDocName=child_doc&sWindow=New&sDocType=wid&sReportName=child_report_nameL&lsS" + URLEncode(“Promp text”) + “=” + [prompt_dim]+">"+[prompt_dim]+""

and it’s working properly :?


radiohead :portugal: (BOB member since 2007-04-13)