SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Launching a Report from the URL link


Launching a Report from the URL link

Author
Message
Ronnie Jones
Ronnie Jones
SSChasing Mays
SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)

Group: General Forum Members
Points: 611 Visits: 307
Hello All,

I'm using SSRS 2008 R2. After rendering a report, I want to be able to copy the URL link in the Browser's Address Bar of the rendered report and email that link to someone giving them the ability to also view that report without having to re-run the search criteria.

Currently, when I capture the URL link and paste it in a new browser Window, I basically have to regenerate the report by entering the search criteria and clicking on the View Report button. My expectation is for the search criteria to imbedded in the URL link.

Does anyone have any experience with this or know if it can even work?

Thanks,

Ronnie

--------------------------------------------------------------------------------
davoscollective
davoscollective
SSCommitted
SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)

Group: General Forum Members
Points: 1681 Visits: 1008
Good idea but unfortunately it doesn't work like that. Report parameters are not captured as url parameters.

Take a look at some options like snapshot, Report History, Caching, default parameters.

One or a combination of these might solve your issue.

I think perhaps snapshots would be what you want but it's worth exploring them all.

In the report manager website, browsing to the "manage" setting for a report will show you where to set these options. Some are not intuitive though so best to read what they all do first.
Ronnie Jones
Ronnie Jones
SSChasing Mays
SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)

Group: General Forum Members
Points: 611 Visits: 307
Thank you very much for your advice.

I will look into those options to see how they might work for me.

Thanks again...

Ronnie
kevin.minteer@gmail.com
kevin.minteer@gmail.com
Valued Member
Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)

Group: General Forum Members
Points: 68 Visits: 368
While you can't just execute a report in your own browser and copy the URL to send to someone else, you can pass report parameters within a URL using ReportServer.

See this link here: http://msdn.microsoft.com/en-us/library/ms155391(v=sql.105).aspx
Ronnie Jones
Ronnie Jones
SSChasing Mays
SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)SSChasing Mays (611 reputation)

Group: General Forum Members
Points: 611 Visits: 307
Great Information GoVelo!

Thank you. That's about as close to what I needed as I've gotten.

Thanks Again!
davoscollective
davoscollective
SSCommitted
SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)

Group: General Forum Members
Points: 1681 Visits: 1008
Thanks GoVelo, learnt something new Smile
kevin.minteer@gmail.com
kevin.minteer@gmail.com
Valued Member
Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)

Group: General Forum Members
Points: 68 Visits: 368
No problem! I've never actually used it, but I was pretty sure it was possible. I tried doing what was stated in the original post and obviously got the same result where you still need to select parameter values. At that point, it was going to drive me crazy if I didn't figure out how to do it! :-D
MMartin1
MMartin1
SSCertifiable
SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)

Group: General Forum Members
Points: 7301 Visits: 2033
You can create a data driven subscription for the user. Here you can define the report parameters and the report generates based on those and emails itself to the user, based on a schedule. You can have the parameters be dynamic, like only looking at data from the previous month. When you create the subscription, there is an option to include a link to the report that you can have in the email as well. The link runs the report from SSRS and passed the appropriate parameter values.

Hope this helps

----------------------------------------------------
How to post forum questions to get the best help
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search