Open report in _blank window?
Hi Nard,
I've asked this question before in the wrong group though, but I'm still
struggling with this problem.
The destination of the report is in the ListView.htm file (see code below)
and you told me to look in the Custom Viewer demo to see how to
change the 'target = _parent' to 'target = _blank'.
I could not find where to change this parameter.
Which Unit is responsible for creating the ListView.htm?
Maybe I can change it in the source code?
Thanks,
Pascal
Code snippet from ListView.htm
function GetReportDiv(aName, aReport)
{
lsLink = gExplorerURI + "?content=viewer&" + aReport +
gExtraParameters;
Result = "
\n";
return Result;
}
I've asked this question before in the wrong group though, but I'm still
struggling with this problem.
The destination of the report is in the ListView.htm file (see code below)
and you told me to look in the Custom Viewer demo to see how to
change the 'target = _parent' to 'target = _blank'.
I could not find where to change this parameter.
Which Unit is responsible for creating the ListView.htm?
Maybe I can change it in the source code?
Thanks,
Pascal
Code snippet from ListView.htm
function GetReportDiv(aName, aReport)
{
lsLink = gExplorerURI + "?content=viewer&" + aReport +
gExtraParameters;
Result = "
"; Result = Result + " | \n";"; Result = Result + " " + unescape(aName) + " | \n";
return Result;
}
This discussion has been closed.
Comments
You would need to modify the ListView.htm file after it has been generated
by the webtier. Timing wise you could determine when to do this by coding
the processing of the webtier request similar to what is shown in the
WebTier custom parameters example.
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
The tip was very helpfull, I succeeded to solve the problem.
Regards,
Pascal