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


What URL should I give to run the report directly..


What URL should I give to run the report directly..

Author
Message
mw_sql_developer
mw_sql_developer
SSCoach
SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)

Group: General Forum Members
Points: 17373 Visits: 1350
Question: I am trying to get a report to run immediately. What I mean is if I paste the following URL on the browser it should run the report and display the results.
Instead it opens the report with the parameter field "RepParameterSet" empty.



http://mhpdw2/Reports/Pages/Report.aspx?ItemPath=%2fMyContigo%2fDO_NOT_USE%2fSubReportWithMemberInfoUsedByWaiverFinance&RepParameterSet=50,>64,E,201711

Thom A
Thom A
SSC Guru
SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)

Group: General Forum Members
Points: 86830 Visits: 22264
Try using the ReportServer address. Possibly... http://mhpdw2/ReportServer/Pages/ReportViewer.aspx?%2fMyContigo%2fDO_NOT_USE%2fSubReportWithMemberInfoUsedByWaiverFinance&RepParameterSet=50


Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does :-P

Please always remember to encapsulate your code in IFCode Markup. For example [code=sql] [/code].
Click here to read Jeffs Guide on how to post SQL questions, and get swift and helpful answers from the community
mw_sql_developer
mw_sql_developer
SSCoach
SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)

Group: General Forum Members
Points: 17373 Visits: 1350
Hey! It works.... Thanks a lot!


--Works
http://mhpdw2/ReportServer/Pages/ReportViewer.aspx?%2XXXXXXXXXXXXXXXXXXXX%2fDO_NOT_USE%2fSubReportWithMemberInfoUsedByWaiverFinance&rs:Command=Render&RepParameterSet=50,>64,E,201711

mw_sql_developer
mw_sql_developer
SSCoach
SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)

Group: General Forum Members
Points: 17373 Visits: 1350
Hey Thom:
The above URl works fine.. But I need it to open in a new browser window ( or tab )

. I wanted to now call this link from another SSRS report and have it open in a new browser window. So I followed a help tip in the internet and added the following: When i click on the cell it does not do anything......

See the attached 2 images and leg me know whether I am doing something wrong


="void(window.open('http://mhpdw2/ReportServer/Pages/ReportViewer.aspx?%2XXXXXXXXXXX%2fDO_NOT_USE%2fSubReportWithMemberInfoUsedByWaiverFinance&rs:Command=Render&RepParameterSet=" + "50,>64,E," + Fields!YYYYMM.Value + "')"










Thom A
Thom A
SSC Guru
SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)

Group: General Forum Members
Points: 86830 Visits: 22264
Not sure I'm afraid, I'm not a javascript programmer/developer. At a guess, however, maybe you have Javascript disabled in your browser.



Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does :-P

Please always remember to encapsulate your code in IFCode Markup. For example [code=sql] [/code].
Click here to read Jeffs Guide on how to post SQL questions, and get swift and helpful answers from the community
Sue_H
Sue_H
SSC Guru
SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)

Group: General Forum Members
Points: 77434 Visits: 15517
For the go to URL and opening a new window, it needs to be java script. Something like:
="void(window.open('http://YourPathToReport','_blank'))"

Sue




mw_sql_developer
mw_sql_developer
SSCoach
SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)

Group: General Forum Members
Points: 17373 Visits: 1350
Sue_H - Tuesday, November 14, 2017 1:04 PM
For the go to URL and opening a new window, it needs to be java script. Something like:
="void(window.open('http://YourPathToReport','_blank'))"

Sue

="void(window.open('http://www.google.com','_blank');"


I tried but it does not work

mw_sql_developer
mw_sql_developer
SSCoach
SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)

Group: General Forum Members
Points: 17373 Visits: 1350
mw112009 - Tuesday, November 14, 2017 3:14 PM
Sue_H - Tuesday, November 14, 2017 1:04 PM
For the go to URL and opening a new window, it needs to be java script. Something like:
="void(window.open('http://YourPathToReport','_blank'))"

Sue

="void(window.open('http://www.google.com','_blank');"


I tried but it does not work

for some odd reason , when posting, this removed the first part which says void(

mw_sql_developer
mw_sql_developer
SSCoach
SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)

Group: General Forum Members
Points: 17373 Visits: 1350
mw112009 - Tuesday, November 14, 2017 3:15 PM
mw112009 - Tuesday, November 14, 2017 3:14 PM
Sue_H - Tuesday, November 14, 2017 1:04 PM
For the go to URL and opening a new window, it needs to be java script. Something like:
="void(window.open('http://YourPathToReport','_blank'))"

Sue

="void(window.open('http://www.google.com','_blank');"


I tried but it does not work

for some odd reason , when posting, this removed the first part which says void(

IT removes the word J-A-V-A-S-C-R-I-P-T

Sue_H
Sue_H
SSC Guru
SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)

Group: General Forum Members
Points: 77434 Visits: 15517


Deploy it and try. I don't think it works in preview from the designer.

Sue



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