I found this great blog entry over at msdn (click here) with this nice graphic shown below that explains the differences between the two. But long story short the difference is we are utilizing the aos to generate the data then handing the results to ssrs rather than handing the logic to ssrs and letting it generate the data. By doing this we can bypass the time out that is defined in ssrs because the data is already generated before we hand it off and we can improve runtime because it is now generating the data on the aos server.
Regular processing:
Pre-processing:In order to switch from the regular process we need to make the following changes:
- On the table that is returned as a dataset to the report make the following changes
- Created by - Yes
- CreatedTransactionId - Yes
- TableType - Regular
- Change the DP class so it extends SrsReportDataProviderPreProcess
- Within the DP class.processReport() method add the following code reportData.setConnection(this.parmUserConnection()); where reportData is the table that is returned as a dataset within your report
- Execute a incremental cil
- Open the SSRS report and hit refresh on the dataset. At this point you should see the field 'createdTransactionId' added to the available field.
- Deploy report
- Security Note: For your security object it is good to note that when using this preprocessing method you need to add the DPClass.processReport() method to the Server methods node in the privilege associated with the report
No comments:
Post a Comment