Javascript in URL does not create a link in SSRS 2022

Patrick Dill 0 Reputation points
2025-06-11T18:58:06.9833333+00:00

In SSRS 2022, using the below Javascript will not generate a link once deployed. This feature works fine in SSRS 2016 and before. Browser version does not matter.

="javascript:void(window.open('https://learn.microsoft.com/en-us/sql/reporting-services/...','_blank'))"

If you remove the Javascript and re-deploy, a URL is generated, but does NOT open in a new window:

="https://learn.microsoft.com/en-us/sql/reporting-services"

Same issue as here: https://learn.microsoft.com/en-us/answers/questions/1917840/javascript-not-working-with-ssrs-report-in-edge

What is the workaround or fix for this?

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
3,061 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Patrick Dill 0 Reputation points
    2025-06-16T23:44:42.0433333+00:00

    By default all links (including mailto) in SSRS 2019 and later have been disabled. You must change Advanced setting for "SupportedHyperlinkSchemes" to "*". This fixed our issue.
    https://learn.microsoft.com/en-us/sql/reporting-services/tools/server-properties-advanced-page-reporting-services?view=sql-server-ver17

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.