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
mw112009
mw112009
SSCrazy Eights
SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)

Group: General Forum Members
Points: 9689 Visits: 1144
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-Forever
SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)

Group: General Forum Members
Points: 45606 Visits: 15469
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
mw112009
mw112009
SSCrazy Eights
SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)

Group: General Forum Members
Points: 9689 Visits: 1144
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

mw112009
mw112009
SSCrazy Eights
SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)

Group: General Forum Members
Points: 9689 Visits: 1144
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-Forever
SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)

Group: General Forum Members
Points: 45606 Visits: 15469
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-Dedicated
SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)

Group: General Forum Members
Points: 33150 Visits: 9411
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




mw112009
mw112009
SSCrazy Eights
SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)

Group: General Forum Members
Points: 9689 Visits: 1144
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

mw112009
mw112009
SSCrazy Eights
SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)

Group: General Forum Members
Points: 9689 Visits: 1144
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(

mw112009
mw112009
SSCrazy Eights
SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)

Group: General Forum Members
Points: 9689 Visits: 1144
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-Dedicated
SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)

Group: General Forum Members
Points: 33150 Visits: 9411


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