May 10, 2016 at 11:59 am
Hi,
we are using SSRS 2012/2008 in projects where we have to display the client logo in the browser through favicon option. I tried by adding the following node within head node in ReportViewer webpage but it didn't work even i have tried by giving the actual machine folder path too but it didn't work it's show IE favicon.
"<link rel="shortcut icon" href="favicon.ico" />
please guide me on this, thanks.
___
Known Is An Drop,Unknown Is An Ocean....
Njoy Programming 🙂
May 11, 2016 at 7:05 am
You could create it in the reporting services javascript. Put your favicon in the images folder under report manager (Program Files\Microsoft SQL Server\MSRS11.SQL2012\Reporting Services\ReportManager), then add the following to the top of the ReportingServices.js :
var link = document.createElement('link');
link.rel = 'shortcut icon';
link.type = 'image/x-icon';
link.href = 'http://myreportserver/Reports_SQL2012/images/favicon.png';
document.getElementsByTagName('head')[0].appendChild(link);
May 11, 2016 at 1:21 pm
Thanks for the snippet Spiff, after given the complete image url i got favicon displayed in the local machine. If it's didn't works after deployed to server I will try your snippet.
___
Known Is An Drop,Unknown Is An Ocean....
Njoy Programming 🙂
April 3, 2017 at 12:23 pm
Did this end up working? Where is the "ReportViewer webpage"? I'm using 2008 R2.
May 19, 2017 at 1:15 am
Spiff - Wednesday, May 11, 2016 7:05 AMYou could create it in the reporting services javascript. Put your favicon in the images folder under report manager (Program Files\Microsoft SQL Server\MSRS11.SQL2012\Reporting Services\ReportManager), then add the following to the top of the ReportingServices.js :var link = document.createElement('link');link.rel = 'shortcut icon';link.type = 'image/x-icon';link.href = 'http://myreportserver/Reports_SQL2012/images/favicon.png';document.getElementsByTagName('head')[0].appendChild(link);
This worked. GREAT . Thanks !!!
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply