SSRS and cached reports - caching

I'm opening an SSRS2008 report using the http://server/reportserver/... syntax, outputting directly a PDF copy. This report has several parameters.
The problem is that, despite making changes to the report, and clearing the browser's temporary files cache.. if I request the same report (i.e. same parameters) - the old report is returned.
In the report execution properties, I have "Always run this report with the most recent data" and "Do not cache temporary copies of this report" selected.
It's not just a case of caching data, but the entire report (including formatting, e.g. I deleted a page from the report yet it was still being shown...) and as I haven't specifically chosen to perform any caching I'm a little concerned and clearly don't fully understand what's going on!
Any tips?

Even if you change the report SSRS caches the data and does not reload it unless the parameters change.
If you have a time sensitive report, or during development you can add a parameter to force the reload and set the default value to =TimeOfDay().
This way SSRS always sees it as a new request.

You probably want to verify that you've properly deployed the modified report to the server.
Are you able to see the differences exporting to PDF vs. viewing it in the web SSRS Report Manager?

Related

Is the Drill Through (or Drill Down) functionality for RDLC report only available for web applications?

We have several Crystal Reports that are used in a Windows Form application that we are re-creating using RDLC. One of the reports needs the ability to drill through (or down) to more detailed data. I've followed several examples (mostly for SSRS) to enable the drill through functionality in the RDLC report but I can never get it to work. Its like the drill through logic is being ignored. I never get the "hand" to appear. I've even tried using "Go to URL" for the action and that doesn't work.
Is this functionality only available for SSRS or web applications?

Birt Interactive Report with maximo

Here I have a question that is it possible to create an interactive report.
I have a requirement like I have to approve bulk data in Maximo side with birt, in birt report I will keep check boxes who else will run that report they will select that checkboxes if they select the checkbox in the report, the same checkbox need to update in Maximo record. In Maximo also records contain checkboxes.
Two examples of how Maximo does this in the out of the box reports would be the Inventory ROP Analysis and Inventory EOQ Analysis reports - both come with the option on the last page to update Maximo with the suggested Economic Order Quantity or Re Order Point data. That's where I'd start.
The BIRT update reports are interesting. There are several actually. The update report is called directly from the runtime report, as #JohnHartin states. They are not registered directly to the Application. This is for security reasons.
The update report when executed will take the same input parameters you entered into the runtime report and essentially re-execute the report , except the update report has SQL which writes back to the DB. As mentioned as and example: the ROP Analysis. You will find the ".rptdesign" file in the {Maximo_home}/reports/birt/reports/INVENTOR folder on your Maximo build machine. (The report subfolder is the repository you import into BIRT tool to modify your reports.)
From your BIRT workstation navigate to the INVENTOR folder in your project browser and you can then see it in BIRT. Next, you will be able to open up the design file, (note the update reports have "update" as part of the design file name so real easy to identify.) Then you can examine the SQL in the Initialize method of the report.
Since this report works in conjunction with the Analysis report what happens when you touch the update button on the analysis report, is the data generated in the analysis report is parsed and sent as multiple update SQL transactions back to Maximo DB. It is incumbent upon you to be very careful making any modifications to the Analysis AND update reports together.
Hope this helps.

CRM 3013 Online - Report missing parameter

I have created a report using SQL and SSRS and i have come to upload it to CRM.
It is an enhancement of a previous report and includes a new parameter. For some reason I can't delete the old report as it is in a managed solution (though it is marked as customisable) so I simply tried to upload it as a new report with a different name. My new parameter is not showing, I know I am uploading the right file and I can see the parameter when I run in VS but CRM will not show my new parameter.
Any ideas?

Adding a subreport to rdl table cell

I have this RDL report, which needs to show a list of objects.
each objects itself contains multiple charts and tables so my idea was to add a single table in my report and add a sub-report to the table cell and feed the id of each object via a parameter to the sub-report.
This is how my report currently looks like:
Many sites suggest that the proper file may be selected by navigating to the supreport properties screen and using the browse button on the "Use this report as subreport" section, but my designer has no browse button:
My first thought is I'll just type in the path. But this doesn't work because it won't support : or \
Here I'd like to mention that we deploy our report in a subfolder of our application's deployment folder(generally something on the lines of "C:\Program Files\Company\Application\data\ReportDefinitions") Also the report files are not included in the application's solution. They're loaded at run time as needed.
I've also checked what msdn has to say on the matter. Some pages suggest using an expression like ="path" but this doesn't work for the same reasons.
Another article from Microsoft says something in the line of:
but this doesn't work either it just can't find the report sub-report in any way:
I've double checked and triple checked. The sub report is in the same folder as the main report and it's name is correct, but it just won't see it
I've already spent hours on this and I feel like I've exhausted every option.
What am I missing?
It seems my problem was not loading the subreport properly.
I load and render my reports pragmatically. Adding the following line overcame the problem
localReport.LoadSubreportDefinition(
"SingleCalibrationCurveReport",
new StreamReader(Path.Combine(this.systemSettings.DataPath, #"ReportDefinitionFiles\SingleCalibrationCurveReport.rdlc")));

How do I hide sections based upon some criteria?

I'm working on a SQL Server Reporting Service report, that will eventually be in my WPF app. There are certain sections of the report which should only be shown, if certain conditions are met. How do I make sections appear or be hidden/collapsed in the Report Viewer? (I'm working in VS 2010.)
It may depend on what you mean by "section". Most report objects (such as text boxes, table rows, etc.) have a property Visibility>Hidden which can be set to a condition, by selecting the <Expression...> option for the property in the Properties window in the Report Designer.

Resources