Showing posts with label hyperlink. Show all posts
Showing posts with label hyperlink. Show all posts

Monday, March 26, 2012

Opening hyperlink Url in new window

Hello,

I have areport with a text box. The text box is hyperlinked to another report url. The report opens in a new page when previewed with RS 2005 but when deployed the report opens in teh same page from where it is referenced.

How can I set a property with the texbox to always open in a new page the hyperlinked report.

Thanks in advance

'Kiran.

I'm not going to be any help... I have the same question. The report itself uses XML to generate not html so it is not a matter of setting target = '_blank'. That's about as far as I've gotten. Any help with this would be appreciated by me as well.

Thanks

Opening a new window on clicking a hyperlink

Hi,

We are opening a Crystal Enterprise report in a browser. The report is opened in a .pdf format. We need to make some texts/images appear as hyperlinks. We did so by formatting the concerned objects in the Crystal Reports Designer and specifying the website address. But on clicking the text/image, the website is being opened in the same window. What can we do so that the website gets opened in a new window? Please Help!
We are using Crystal Reports 10.

Thanks,
ManishHi,

Let me rephrase the problem again after some observations.
We have found out that the hyperlink in thus generated pdf file is indeed opening in a new window. But when this pdf file is displayed inside a frame, clicking on the hyperlink is opening in the same window/frame. Please Help.

Regards,
Manishsql

Opening a hyperlink in new window

Hi All,
I have a hyperlink on my report. The target report opens in the same browser window. I want the target report to open in new instance of the browser.

Any clues as to how to do this?

Thanks in advance

Nikhil Dabke

I'm having the same problem. Would LOVE a little help on this!!

Thanks!
Joanie

|||You could try a this URL for the action (remove the spaces):

j a v a s c r i p t:if(window.open(yourPage.aspx','RsWindow','width=400,height=500,l­ocation=0,menubar=0,status=0,toolbar=0,scrollbars=1',true)){}

Opening a hyperlink in new window

Hi All,
I have a hyperlink on my report. The target report opens in the same browser window. I want the target report to open in new instance of the browser.

Any clues as to how to do this?

Thanks in advance

Nikhil Dabke

I'm having the same problem. Would LOVE a little help on this!!

Thanks!
Joanie

|||You could try a this URL for the action (remove the spaces):

j a v a s c r i p t:if(window.open(yourPage.aspx','RsWindow','width=400,height=500,l­ocation=0,menubar=0,status=0,toolbar=0,scrollbars=1',true)){}|||Hi,

The work around that I found for this is:

The URL that you provide under the Navigation -> Jump To Url must be replaced by :

="javascript:void(window.open('URL','_blank'))"

This worked for me fine after deploying my report to the Report Server.

Thanks,
Praveensql

Tuesday, March 20, 2012

Open Report with Parameter over URL

Hello,
i want to open a report with one parameter over hyperlink.
The URL from the report is:
http://wh-report/Pages/Report.aspx?ItemPath=%2fVertrieb%2fKundeninfo
Can somebody tell me the solution.
The parameter is a customer number like: 123431
Thanks for your help,
HorstThis sample I picked up from online help.. Please go through for more details.
http://server/reportserver?/Sales/Northwest/Employee Sales
Report&rs:Command=Render&EmployeeID=1234
Here "Employee Sales Summary" is the name of the report and "EmployeeID =1234" is the parameter. be careful of ambersand and the syntax.
Amarnath
"Horst Wutscher" wrote:
> Hello,
> i want to open a report with one parameter over hyperlink.
> The URL from the report is:
> http://wh-report/Pages/Report.aspx?ItemPath=%2fVertrieb%2fKundeninfo
> Can somebody tell me the solution.
> The parameter is a customer number like: 123431
> Thanks for your help,
> Horst
>
>

Monday, March 19, 2012

Open New Window for Action

I wonder if I can automatically pop-up a new window if I click Action
(hyperlink) in a report. Any suggestion will be welcomed. Thank You.
--
Regards,
Jono Indrawijaya
PT eBiz Cipta Solusi - Indonesia
Microsoft Certified PartnerIf you are running RS 2000 with SP1, you can use an expression for the
hyperlink like this:
="javascript:void(window.open('http://www.xyz.com"','_blank'))"
-- Robert
This posting is provided "AS IS" with no warranties, and confers no rights.
"Jono Indrawijaya" <JonoIndrawijaya@.discussions.microsoft.com> wrote in
message news:9A19E3D3-500F-44F6-9120-402629ADE350@.microsoft.com...
>I wonder if I can automatically pop-up a new window if I click Action
> (hyperlink) in a report. Any suggestion will be welcomed. Thank You.
> --
> Regards,
> Jono Indrawijaya
> PT eBiz Cipta Solusi - Indonesia
> Microsoft Certified Partner|||Did you mean, this:
="javascript:void(window.open('http://www.xyz.com','_blank'))"
I omit one extra double-quote. I've tried this, but it run the link in the
same window, plus with "The page cannot be displayed" error.
Where does my mistake? Thanks for Your Help
--
Regards,
Jono Indrawijaya
PT eBiz Cipta Solusi - Indonesia
Microsoft Certified Partner
"Robert Bruckner [MSFT]" wrote:
> If you are running RS 2000 with SP1, you can use an expression for the
> hyperlink like this:
> ="javascript:void(window.open('http://www.xyz.com"','_blank'))"
> -- Robert
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Jono Indrawijaya" <JonoIndrawijaya@.discussions.microsoft.com> wrote in
> message news:9A19E3D3-500F-44F6-9120-402629ADE350@.microsoft.com...
> >I wonder if I can automatically pop-up a new window if I click Action
> > (hyperlink) in a report. Any suggestion will be welcomed. Thank You.
> >
> > --
> > Regards,
> > Jono Indrawijaya
> > PT eBiz Cipta Solusi - Indonesia
> > Microsoft Certified Partner
>
>

Open Navigation Link in a new window

I have a report with a hyperlink. When I go to the navigation tab, it does not give me any options to open the link in a new window. I have a link to show help and I do not want the user to actually move away from the reports
Any ideas? This is such a simple thing..I wonder how MS misses this?

One way of doing this is to use an expression like this for the hyperlink action (Note - I had to insert a blank between 'java' and 'script' otherwise the text would not be visible in the posting):
="java script:void(window.open('http://www.microsoft.com','_blank'))"

Note: be careful with single and double quotes in the expression - especially if you use RDL expressions to concatenate static information with dynamic information from e.g. a field value.

-- Robert

|||The reason it does not work is the built in rendering extension puts "_Top" in the <a href> tag that it renders. Somehow, we need to change that '_Top" to "_blank" while rendering.

Is there any way you know of?

Thanks.|||

You can do this by using URL access to render the report and specifying the rc:LinkTarget parameter. See: http://msdn2.microsoft.com/en-us/library/ms155395.aspx

-- Robert

|||

Hi, Robert,

All of my users are using http://machine/reports or http://machine/reportserver with IE. Is there anyway to change the default value of LinkTarget at navigation link from _top to _blank in .config file to make this behavior by default?

I tried to modify rsreportserver.config without luck.

I also noticed that the default behavior of SSRS 2000 does allow one to open new window at navigation link (right click -> Open new window). But this has been removed from SSRS 2005 (well, at least its default behavior is not to open a new window).

Thanks.

Kong

|||

I have seen this answer "rc:LinkTarget" from multiple sources, but I cannot get it to work. I cannot get the Target attribute to change from _top to _blank or any frame names.

here is my code sample:

="http://myServersName/ReportServer?/Finance/quickTest&rc:LinkTarget=_blank"

Because or report server runs in a framed wrapper the window.open method cannot work either.

any suggestions would be helpful.

Thanks.

|||

I have seen this answer "rc:LinkTarget" from multiple sources, but I cannot get it to work. I cannot get the Target attribute to change from _top to _blank or any other frame names.

here is my code sample:

="http://myServersName/ReportServer?/Finance/quickTest&rc:LinkTarget=_blank"

Because our report server runs in a framed wrapper the javascript clientside window.open method cannot work either.

any suggestions would be helpful.

Thanks.

|||

One way of doing this is to use an expression like this for the hyperlink action (Note - I had to insert a blank between 'java' and 'script' otherwise the text would not be visible in the posting):
="java script:void(window.open('http://www.microsoft.com','_blank'))"

It's perfect but I coudn't figure out how to do it with a field value like:

"https://www.mysite.com/pdf/" & Fields!SurveyReportNo.Value & ".pdf"

Could you help me Robert ?

|||

Try this:

="java script:void(window.open('https://www.mysite.com/pdf/" & Fields!SurveyReportNo.Value & ".pdf','_blank'))"

-- Robert

|||

Try this:

="java script:void(window.open('https://www.mysite.com/pdf/" & Fields!SurveyReportNo.Value & ".pdf','_blank'))"

-- Robert

Thank you Robert !

It worked like a charm, I'm using SQL 2005 for about 2 months, and it's really difficulty to find good information.

I've bought 2 books from the "dummies" series, but this kind of info is not there :(

Thank you again !

RGDS

Norberto

ps-would you know also how to complete this command, hiding all the bars from the browser (address bar, toolbar, etc...)

|||

Never mind, just found it

="java script:void(window.open('https://www.mysite.com/pdf/" & Fields!SurveyReportNo.Value & ".pdf','_blank','toolbar=false'))"

Don't know why, i was using "menu=no"

Tks again

|||

hello :

On a hypertext link in a report, how to open the link in a new window IE. ?

Thank's

Open Navigation Link in a new window

I have a report with a hyperlink. When I go to the navigation tab, it does not give me any options to open the link in a new window. I have a link to show help and I do not want the user to actually move away from the reports
Any ideas? This is such a simple thing..I wonder how MS misses this?

One way of doing this is to use an expression like this for the hyperlink action (Note - I had to insert a blank between 'java' and 'script' otherwise the text would not be visible in the posting):
="java script:void(window.open('http://www.microsoft.com','_blank'))"

Note: be careful with single and double quotes in the expression - especially if you use RDL expressions to concatenate static information with dynamic information from e.g. a field value.

-- Robert

|||The reason it does not work is the built in rendering extension puts "_Top" in the <a href> tag that it renders. Somehow, we need to change that '_Top" to "_blank" while rendering.

Is there any way you know of?

Thanks.|||

You can do this by using URL access to render the report and specifying the rc:LinkTarget parameter. See: http://msdn2.microsoft.com/en-us/library/ms155395.aspx

-- Robert

|||

Hi, Robert,

All of my users are using http://machine/reports or http://machine/reportserver with IE. Is there anyway to change the default value of LinkTarget at navigation link from _top to _blank in .config file to make this behavior by default?

I tried to modify rsreportserver.config without luck.

I also noticed that the default behavior of SSRS 2000 does allow one to open new window at navigation link (right click -> Open new window). But this has been removed from SSRS 2005 (well, at least its default behavior is not to open a new window).

Thanks.

Kong

|||

I have seen this answer "rc:LinkTarget" from multiple sources, but I cannot get it to work. I cannot get the Target attribute to change from _top to _blank or any frame names.

here is my code sample:

="http://myServersName/ReportServer?/Finance/quickTest&rc:LinkTarget=_blank"

Because or report server runs in a framed wrapper the window.open method cannot work either.

any suggestions would be helpful.

Thanks.

|||

I have seen this answer "rc:LinkTarget" from multiple sources, but I cannot get it to work. I cannot get the Target attribute to change from _top to _blank or any other frame names.

here is my code sample:

="http://myServersName/ReportServer?/Finance/quickTest&rc:LinkTarget=_blank"

Because our report server runs in a framed wrapper the javascript clientside window.open method cannot work either.

any suggestions would be helpful.

Thanks.

|||

One way of doing this is to use an expression like this for the hyperlink action (Note - I had to insert a blank between 'java' and 'script' otherwise the text would not be visible in the posting):
="java script:void(window.open('http://www.microsoft.com','_blank'))"

It's perfect but I coudn't figure out how to do it with a field value like:

"https://www.mysite.com/pdf/" & Fields!SurveyReportNo.Value & ".pdf"

Could you help me Robert ?

|||

Try this:

="java script:void(window.open('https://www.mysite.com/pdf/" & Fields!SurveyReportNo.Value & ".pdf','_blank'))"

-- Robert

|||

Try this:

="java script:void(window.open('https://www.mysite.com/pdf/" & Fields!SurveyReportNo.Value & ".pdf','_blank'))"

-- Robert

Thank you Robert !

It worked like a charm, I'm using SQL 2005 for about 2 months, and it's really difficulty to find good information.

I've bought 2 books from the "dummies" series, but this kind of info is not there :(

Thank you again !

RGDS

Norberto

ps-would you know also how to complete this command, hiding all the bars from the browser (address bar, toolbar, etc...)

|||

Never mind, just found it

="java script:void(window.open('https://www.mysite.com/pdf/" & Fields!SurveyReportNo.Value & ".pdf','_blank','toolbar=false'))"

Don't know why, i was using "menu=no"

Tks again

|||

hello :

On a hypertext link in a report, how to open the link in a new window IE. ?

Thank's

Open Navigation Link in a new window

I have a report with a hyperlink. When I go to the navigation tab, it does not give me any options to open the link in a new window. I have a link to show help and I do not want the user to actually move away from the reports
Any ideas? This is such a simple thing..I wonder how MS misses this?

One way of doing this is to use an expression like this for the hyperlink action (Note - I had to insert a blank between 'java' and 'script' otherwise the text would not be visible in the posting):
="java script:void(window.open('http://www.microsoft.com','_blank'))"

Note: be careful with single and double quotes in the expression - especially if you use RDL expressions to concatenate static information with dynamic information from e.g. a field value.

-- Robert

|||The reason it does not work is the built in rendering extension puts "_Top" in the <a href> tag that it renders. Somehow, we need to change that '_Top" to "_blank" while rendering.

Is there any way you know of?

Thanks.|||

You can do this by using URL access to render the report and specifying the rc:LinkTarget parameter. See: http://msdn2.microsoft.com/en-us/library/ms155395.aspx

-- Robert

|||

Hi, Robert,

All of my users are using http://machine/reports or http://machine/reportserver with IE. Is there anyway to change the default value of LinkTarget at navigation link from _top to _blank in .config file to make this behavior by default?

I tried to modify rsreportserver.config without luck.

I also noticed that the default behavior of SSRS 2000 does allow one to open new window at navigation link (right click -> Open new window). But this has been removed from SSRS 2005 (well, at least its default behavior is not to open a new window).

Thanks.

Kong

|||

I have seen this answer "rc:LinkTarget" from multiple sources, but I cannot get it to work. I cannot get the Target attribute to change from _top to _blank or any frame names.

here is my code sample:

="http://myServersName/ReportServer?/Finance/quickTest&rc:LinkTarget=_blank"

Because or report server runs in a framed wrapper the window.open method cannot work either.

any suggestions would be helpful.

Thanks.

|||

I have seen this answer "rc:LinkTarget" from multiple sources, but I cannot get it to work. I cannot get the Target attribute to change from _top to _blank or any other frame names.

here is my code sample:

="http://myServersName/ReportServer?/Finance/quickTest&rc:LinkTarget=_blank"

Because our report server runs in a framed wrapper the javascript clientside window.open method cannot work either.

any suggestions would be helpful.

Thanks.

|||

One way of doing this is to use an expression like this for the hyperlink action (Note - I had to insert a blank between 'java' and 'script' otherwise the text would not be visible in the posting):
="java script:void(window.open('http://www.microsoft.com','_blank'))"

It's perfect but I coudn't figure out how to do it with a field value like:

"https://www.mysite.com/pdf/" & Fields!SurveyReportNo.Value & ".pdf"

Could you help me Robert ?

|||

Try this:

="java script:void(window.open('https://www.mysite.com/pdf/" & Fields!SurveyReportNo.Value & ".pdf','_blank'))"

-- Robert

|||

Try this:

="java script:void(window.open('https://www.mysite.com/pdf/" & Fields!SurveyReportNo.Value & ".pdf','_blank'))"

-- Robert

Thank you Robert !

It worked like a charm, I'm using SQL 2005 for about 2 months, and it's really difficulty to find good information.

I've bought 2 books from the "dummies" series, but this kind of info is not there :(

Thank you again !

RGDS

Norberto

ps-would you know also how to complete this command, hiding all the bars from the browser (address bar, toolbar, etc...)

|||

Never mind, just found it

="java script:void(window.open('https://www.mysite.com/pdf/" & Fields!SurveyReportNo.Value & ".pdf','_blank','toolbar=false'))"

Don't know why, i was using "menu=no"

Tks again

|||

hello :

On a hypertext link in a report, how to open the link in a new window IE. ?

Thank's

Open Navigation Link in a new window

I have a report with a hyperlink. When I go to the navigation tab, it does not give me any options to open the link in a new window. I have a link to show help and I do not want the user to actually move away from the reports
Any ideas? This is such a simple thing..I wonder how MS misses this?

One way of doing this is to use an expression like this for the hyperlink action (Note - I had to insert a blank between 'java' and 'script' otherwise the text would not be visible in the posting):
="java script:void(window.open('http://www.microsoft.com','_blank'))"

Note: be careful with single and double quotes in the expression - especially if you use RDL expressions to concatenate static information with dynamic information from e.g. a field value.

-- Robert

|||The reason it does not work is the built in rendering extension puts "_Top" in the <a href> tag that it renders. Somehow, we need to change that '_Top" to "_blank" while rendering.

Is there any way you know of?

Thanks.|||

You can do this by using URL access to render the report and specifying the rc:LinkTarget parameter. See: http://msdn2.microsoft.com/en-us/library/ms155395.aspx

-- Robert

|||

Hi, Robert,

All of my users are using http://machine/reports or http://machine/reportserver with IE. Is there anyway to change the default value of LinkTarget at navigation link from _top to _blank in .config file to make this behavior by default?

I tried to modify rsreportserver.config without luck.

I also noticed that the default behavior of SSRS 2000 does allow one to open new window at navigation link (right click -> Open new window). But this has been removed from SSRS 2005 (well, at least its default behavior is not to open a new window).

Thanks.

Kong

|||

I have seen this answer "rc:LinkTarget" from multiple sources, but I cannot get it to work. I cannot get the Target attribute to change from _top to _blank or any frame names.

here is my code sample:

="http://myServersName/ReportServer?/Finance/quickTest&rc:LinkTarget=_blank"

Because or report server runs in a framed wrapper the window.open method cannot work either.

any suggestions would be helpful.

Thanks.

|||

I have seen this answer "rc:LinkTarget" from multiple sources, but I cannot get it to work. I cannot get the Target attribute to change from _top to _blank or any other frame names.

here is my code sample:

="http://myServersName/ReportServer?/Finance/quickTest&rc:LinkTarget=_blank"

Because our report server runs in a framed wrapper the javascript clientside window.open method cannot work either.

any suggestions would be helpful.

Thanks.

|||

One way of doing this is to use an expression like this for the hyperlink action (Note - I had to insert a blank between 'java' and 'script' otherwise the text would not be visible in the posting):
="java script:void(window.open('http://www.microsoft.com','_blank'))"

It's perfect but I coudn't figure out how to do it with a field value like:

"https://www.mysite.com/pdf/" & Fields!SurveyReportNo.Value & ".pdf"

Could you help me Robert ?

|||

Try this:

="java script:void(window.open('https://www.mysite.com/pdf/" & Fields!SurveyReportNo.Value & ".pdf','_blank'))"

-- Robert

|||

Try this:

="java script:void(window.open('https://www.mysite.com/pdf/" & Fields!SurveyReportNo.Value & ".pdf','_blank'))"

-- Robert

Thank you Robert !

It worked like a charm, I'm using SQL 2005 for about 2 months, and it's really difficulty to find good information.

I've bought 2 books from the "dummies" series, but this kind of info is not there :(

Thank you again !

RGDS

Norberto

ps-would you know also how to complete this command, hiding all the bars from the browser (address bar, toolbar, etc...)

|||

Never mind, just found it

="java script:void(window.open('https://www.mysite.com/pdf/" & Fields!SurveyReportNo.Value & ".pdf','_blank','toolbar=false'))"

Don't know why, i was using "menu=no"

Tks again

|||

hello :

On a hypertext link in a report, how to open the link in a new window IE. ?

Thank's

Open Navigation Link in a new window

I have a report with a hyperlink. When I go to the navigation tab, it does not give me any options to open the link in a new window. I have a link to show help and I do not want the user to actually move away from the reports
Any ideas? This is such a simple thing..I wonder how MS misses this?

One way of doing this is to use an expression like this for the hyperlink action (Note - I had to insert a blank between 'java' and 'script' otherwise the text would not be visible in the posting):
="java script:void(window.open('http://www.microsoft.com','_blank'))"

Note: be careful with single and double quotes in the expression - especially if you use RDL expressions to concatenate static information with dynamic information from e.g. a field value.

-- Robert

|||The reason it does not work is the built in rendering extension puts "_Top" in the <a href> tag that it renders. Somehow, we need to change that '_Top" to "_blank" while rendering.

Is there any way you know of?

Thanks.|||

You can do this by using URL access to render the report and specifying the rc:LinkTarget parameter. See: http://msdn2.microsoft.com/en-us/library/ms155395.aspx

-- Robert

|||

Hi, Robert,

All of my users are using http://machine/reports or http://machine/reportserver with IE. Is there anyway to change the default value of LinkTarget at navigation link from _top to _blank in .config file to make this behavior by default?

I tried to modify rsreportserver.config without luck.

I also noticed that the default behavior of SSRS 2000 does allow one to open new window at navigation link (right click -> Open new window). But this has been removed from SSRS 2005 (well, at least its default behavior is not to open a new window).

Thanks.

Kong

|||

I have seen this answer "rc:LinkTarget" from multiple sources, but I cannot get it to work. I cannot get the Target attribute to change from _top to _blank or any frame names.

here is my code sample:

="http://myServersName/ReportServer?/Finance/quickTest&rc:LinkTarget=_blank"

Because or report server runs in a framed wrapper the window.open method cannot work either.

any suggestions would be helpful.

Thanks.

|||

I have seen this answer "rc:LinkTarget" from multiple sources, but I cannot get it to work. I cannot get the Target attribute to change from _top to _blank or any other frame names.

here is my code sample:

="http://myServersName/ReportServer?/Finance/quickTest&rc:LinkTarget=_blank"

Because our report server runs in a framed wrapper the javascript clientside window.open method cannot work either.

any suggestions would be helpful.

Thanks.

|||

One way of doing this is to use an expression like this for the hyperlink action (Note - I had to insert a blank between 'java' and 'script' otherwise the text would not be visible in the posting):
="java script:void(window.open('http://www.microsoft.com','_blank'))"

It's perfect but I coudn't figure out how to do it with a field value like:

"https://www.mysite.com/pdf/" & Fields!SurveyReportNo.Value & ".pdf"

Could you help me Robert ?

|||

Try this:

="java script:void(window.open('https://www.mysite.com/pdf/" & Fields!SurveyReportNo.Value & ".pdf','_blank'))"

-- Robert

|||

Try this:

="java script:void(window.open('https://www.mysite.com/pdf/" & Fields!SurveyReportNo.Value & ".pdf','_blank'))"

-- Robert

Thank you Robert !

It worked like a charm, I'm using SQL 2005 for about 2 months, and it's really difficulty to find good information.

I've bought 2 books from the "dummies" series, but this kind of info is not there :(

Thank you again !

RGDS

Norberto

ps-would you know also how to complete this command, hiding all the bars from the browser (address bar, toolbar, etc...)

|||

Never mind, just found it

="java script:void(window.open('https://www.mysite.com/pdf/" & Fields!SurveyReportNo.Value & ".pdf','_blank','toolbar=false'))"

Don't know why, i was using "menu=no"

Tks again

|||

hello :

On a hypertext link in a report, how to open the link in a new window IE. ?

Thank's