New Blog Post: PDF/A and Metadata

WebTier error

edited July 2014 in Server
Hi
I need some help with WebReports. I design my reports with a designer
that especialize the OnGetAutoSearchValues property on the report component.
When executing the report from the report explorer (desktop application)
it works fine but the same report published on the web with a Webtier
service, it gives me the error message "EReportLoadFromFileErro Error
reading ppReport.OnGetAutoSearchValues: Invalid property value". I
couldn´t find where or how to add or set the OnGetAutoSearchValues
property in the WebTier. The same message appear with the
rbClientExplorer application.
I'm using RB Server 14.08
Thanks

Ignacio

Comments

  • edited July 2014
    Hi Ignacio,

    To clarify, this is an error with your report server, not webtier or client
    :)

    The RB Server Developers Guide includes a tutorial called 'Building a Report
    Server for Reports Files' which has details for moving Delphi event-handler
    code to the DataModule.

    When report files load, any references to Delphi code event-handlers will be
    resolved only if the DataModule includes the event-handler methods in the
    published section. (This is done by VCL streaming, not RB, it’s the same
    process the occurs with the .DFM and Form/DataModule code).



    Best regards,

    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited July 2014
    Hi
    I apologize. I'm new with RBServer. I thought that, as the designer is
    linked to a ppReport component which has the OnGetAutosearcValues
    property that I've specialized, It was not the responsability of the
    server to know about that property or method but responsability of the
    ppReport component.
    Thanks for clarifying, I used the rbserver examples without moving event
    handlers. I'll try what you've mentioned
    Thanks again



    Ignacio


    El 17/07/2014 13:24, Nard Moseley (Digital Metaphors) escribió:
  • edited July 2014
    You might want to consider using the Designer Calc workspace to implement
    the event-handlers is run-time Pascal (RAP). That way the code is saved as
    part of the report definition.


    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited July 2014
    Yes, in fact I also use it to do specific calculations for the report
    that's why the event on the report component implements a common
    development and lets to every report to implement their own specific
    calculation, because sometimes the same report must be executed without
    asking parameters to the end user and sometimes if the reprot is
    executed from the report explorer the autosearch dialogo must appear

    Thanks again


    El 21/07/2014 12:56, Nard Moseley (Digital Metaphors) escribió:
This discussion has been closed.