Home Server
New Blog Posts: Merging Reports - Part 1 and Part 2

Viewer And Report Progress Page

edited April 2003 in Server
Hello,

I have the Report Progress Page Working perfectly from the demo you posted,
however, whenever I click any of the buttons on the viewer, a blank page is
display. Do you have any idea what I am doing wrong?

Thank you,

Tracy McClarnon

Comments

  • edited April 2003

    I cannot duplicate that behavior in my testing here.

    As a test, try modifying the TWebModule1.ProcessRequest method so that it
    does not ever display the progress page:

    // if RequiresProgressPage(aWebRequest) then
    // Result := GetProgressPage(aWebRequest)
    // else
    Result := rsWebTier1.ProcessWebRequest(aWebRequest);

    Then run the rbWebDebug.exe and observe whether the viewer nav buttons work
    properly.




    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited April 2003
    Nard,

    Thank you for the response. Do you have a document that describes what must
    be sent to the WebTier via a URL? A list of URL parameters with allowed
    values and descriptions would greatly help. Also, do you have a document for
    the INI file WebTier can use?

    Thank you,

    Tracy McClarnon

  • edited April 2003

    1. See article below. You can also run the webtier demo application and
    observe the URL that are generated.

    2. Set WebTier.IniSettings.Enabled to True and save the WebModule and close
    the project. In the project directory there will be an rbWebTier.ini file
    generated with the saved configuration settings from the TrsWebTier
    component. You can open this file in notepad or the Delphi code editor. When
    you deploy the webtier application you can place the rbWebTier.ini file in
    the same directory as the web application .DLL.


    ---------------------------------------------
    Tech Tips: How can I request that the webtier
    execute a specified report?
    ---------------------------------------------


    Question:
    ---------

    Without using the Web ReportExplorer, how can I request that the webtier
    execute a specified report?


    Solution:
    ---------

    The webtier processes requests for web content. These requests consists of

    1. The URL for the webtier

    example: http://127.0.0.1/rbWebPub/report.dll


    2. A parameter specifying the content type.

    example: content=viewer

    {note: content=viewer, is used to request report viewer content.}


    3. Additional parameters that are specific to the content request.

    volume=Report Forms (the volume name)
    Name=Basic\Biolife Table (the full path name to the report)


    Use a web browser to access the webtier demo that displays the report
    explorer.

    Notice that when you place the mouse over a report in the report explorer
    that the status bar in IE shows the url plus some params. That is the string
    required to run the report on the web tier.

    Example:
    http://127.0.0.1/rbWebPub/report.dll?content=viewer&volume=Report
    Forms&name=Basic\Biolife Table

    So the parameters here are

    content=viewer (type of content is report viewer)
    volume=Report Forms (the volume name)
    Name=Basic\Biolife Table (the full path name to the report)




    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.