November 14, 2017 at 7:28 am
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.
November 14, 2017 at 7:34 am
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.
Larnu.uk
November 14, 2017 at 8:11 am
November 14, 2017 at 8:38 am
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 + "')"
November 14, 2017 at 1:04 pm
Sue
November 14, 2017 at 3:14 pm
Sue_H - Tuesday, November 14, 2017 1:04 PMFor 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
November 14, 2017 at 3:15 pm
mw112009 - Tuesday, November 14, 2017 3:14 PMSue_H - Tuesday, November 14, 2017 1:04 PMFor 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(
November 14, 2017 at 3:16 pm
mw112009 - Tuesday, November 14, 2017 3:15 PMmw112009 - Tuesday, November 14, 2017 3:14 PMSue_H - Tuesday, November 14, 2017 1:04 PMFor 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
November 14, 2017 at 3:25 pm
Deploy it and try. I don't think it works in preview from the designer.
Sue
November 14, 2017 at 3:29 pm
I purposely placed some dash characters so that this site will not remove the word J-A-V-A-S-C-R-I-P-T from the code above.
Sue; you were close... Jus those extra parenthesis had to be removed!
Greate JOB!
November 14, 2017 at 3:29 pm
mw112009 - Tuesday, November 14, 2017 3:29 PM
="j-a-v-a-s-c-r-i-p-t:void window.open(" &"'" & Globals!ReportServerUrl & "/Pages/ReportViewer.aspx?" & Globals!ReportFolder & "/SubReportWithMemberInfoUsedByWaiverFinance&rc:Parameters=False&RepParameterSet=50,>64,E," & Fields!YYYYMM.Value & "','_blank')"I purposely placed some dash characters so that this site will not remove the word J-A-V-A-S-C-R-I-P-T from the code above.
Sue; you were close... Jus those extra parenthesis had to be removed!Greate JOB!
THANKS EVERYONE IT WORKS!
November 14, 2017 at 3:44 pm
mw112009 - Tuesday, November 14, 2017 3:29 PM
="j-a-v-a-s-c-r-i-p-t:void window.open(" &"'" & Globals!ReportServerUrl & "/Pages/ReportViewer.aspx?" & Globals!ReportFolder & "/SubReportWithMemberInfoUsedByWaiverFinance&rc:Parameters=False&RepParameterSet=50,>64,E," & Fields!YYYYMM.Value & "','_blank')"I purposely placed some dash characters so that this site will not remove the word J-A-V-A-S-C-R-I-P-T from the code above.
Sue; you were close... Jus those extra parenthesis had to be removed!Greate JOB!
Interesting....it was taken from a report working on a couple of servers so I would bet that wouldn't have been it. It could be that your tests had one extra parenthesis from what I can tell. If you ignore the javascript void, etc and start at the first parenthesis you were trying: (window.open('http://www.google.com','_blank');"
That's how it pasted anyway.
Pasting or inserting hyperlinks can sometimes be a nightmare with this forum software. I given up at least a couple of times every week.
Sue
November 14, 2017 at 8:02 pm
I removed the parenthesis between the words VOID and window.OPEN . That is the only major difference. Now it works!
Viewing 14 posts - 1 through 13 (of 13 total)
You must be logged in to reply to this topic. Login to reply