Home Server

Open report in _blank window?

edited March 2004 in Server
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";
Result = Result + "\n";
Result = Result + "\n";
Result = Result + "
";
Result = Result + "\
";
Result = Result + " " + unescape(aName) + "
\n";
return Result;
}

Comments

  • edited March 2004

    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
  • edited March 2004
    Thanks Nard,

    The tip was very helpfull, I succeeded to solve the problem.

    Regards,
    Pascal

This discussion has been closed.