SSRS – “Jump to Report” in a different project

While working with a report for SSRS 2005, using the Business Intelligence Development Studio, I’ve used the option to “Jump to Report” very often. You can find this by going to the properties of an object (textbox, cell, etc) and the Navigation tab.

Navigation tab to jump to report

 

The problem I encountered today is that the drop down shown above only displays reports that existing within the current project loaded in Visual Studio. This means if you have a common report used as a drill through, a copy would need to be made inside this project which is obviously a bad idea since multiple copies would need to be updated.

 

However after a bit of searching I’ve found that you can specify the folder (as it appears on the Report Server) that your sub report exists in, and it will function correctly.

Specify subfolder for jump to report

By doing this, you can maintain one copy of your common reports, and just reference them from the folder name.

Note: this won’t work while previewing the master report in Visual Studio unless you have deployed the drill through report to the report server.

 

As a related aside, I have started organizing my reports all within one Solution in Visual Studio, each under separate projects. Prior to this I had one Solution and one Project for each set of reports, which didn’t scale very well and doesn’t allow for easy referencing. Now, I can get at them all at once:

Projects within a solution

3 thoughts on “SSRS – “Jump to Report” in a different project

  1. Thanks Jeff,
    I have many folders of reports that users navigate to in the SSRS web portal, organized by things like Clinical/SocialWork, Clinical/Nursing, Personnel, Scheduling, HR, ….
    I have a dashboard project going in folder Dashboard/SNF, I am starting that needs several subreports from the above locations.
    Whenever i try a relative path in VS like “../../Clinical/ERpt”, when i click preview it get errors like:
    “could not find a par of the path ‘L:\Corp\IT\Dev\VRpts\Dashboards\SNF\bin\Debug\Clinical\ERpt.rdl’
    Why is it looking in the projects own debug folder?

    1. Hi Steve, I just tested out your described scenario, as my original post was from 2011 using BIDS 2008, rather than the new integrated report building capabilities of Visual Studio.

      I can replicate the problem you’re seeing, however the syntax you’re referencing does appear to work when the report is deployed.
      For example, If you have a report in Clinical/SocialWork which needs to link to something in Clinical/Nursing, then I would set the “Go to report” expression as: “../Nursing/Report1”
      This will fail during preview, but should work when deployed.

  2. Very interesting. Makes testing a little longer, but at least gives me a working solution.
    Hopefully Microsoft can fix that glitch in VS soon, because this affects both sub-reports and drill-through reports.
    Thanks for the help Jeff

Leave a Reply

Your email address will not be published.