Session Parameters
I have a report server running as a Windows service and it uses form-based
reports. I have my webTier displaying a Login page that prompts for
UserName and Password and I pass those values to the report server. I
validate server access based on the UserName and Password entered (just like
your Custom Parameters demo). My problem is this:
I want to filter my reports based on the UserName and Password entered. How
do I retrieve that information after the user selects a report? Do I need
to save that information when the client logs in to the server (from the
ValidateSessionParameters event)?
Thanks.
reports. I have my webTier displaying a Login page that prompts for
UserName and Password and I pass those values to the report server. I
validate server access based on the UserName and Password entered (just like
your Custom Parameters demo). My problem is this:
I want to filter my reports based on the UserName and Password entered. How
do I retrieve that information after the user selects a report? Do I need
to save that information when the client logs in to the server (from the
ValidateSessionParameters event)?
Thanks.
This discussion has been closed.
Comments
You can also use the ReportVolume.BeforePublishReport event to access
SessionParameters and ReportParameteres and the Report object. These are
accessible via properties of the aEventParams object that is passed to the
event-handler. The aEventParams object is of type
TrsBeforePublishReportEventParams - the properties of this object are
documented in the RBServer.hlp.
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
only have TppReport, TppDBPipeline, TQuery, TDataSource, TDatabase, TSession
components on my forms. I had used your example of "Form-Based Reports"
when I developed my application. Do I need to add a TrsReportModuleVolume
component to my forms? Your help file says that this component is
"implicitly" created if no TrsReportModuleVolume is found for the specified
volume name. Can I access the events of this "implicitly" created object?
I was finally able to create an example of using TrsReportModuleVolume
event-handlers:
http://www.digital-metaphors.com/tips/ReportModuleVolumEventHandlers.zip
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
file,'myReportVolume.pas'.
I find these extra examples very valuable, is there any way to get a
list of what you have available or an idea some of the examples of
processing events? I need all the help I can get.
Thanks,
Dave
The example has been updated, please download again.
http://www.digital-metaphors.com/tips/ReportModuleVolumEventHandlers.zip
Other than the RBServer\Demos, this is the only example related to
processing events.
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com