Forum Discussion

Retriever's avatar
Retriever
Frequent Visitor
6 years ago
Solved

Change the Browser title for PBIRS

I've done some digging for both PBIRS and SSRS and can't seem to find any information on whether it's possible to change the Browser title for PBIRS. You can change the site name, and play with the branding, but I can't figure out how to change the actual browser title that shows up on browser tabs and bookmarks. 

 

The title is always in the format of "Folder - Power BI Report Server", for example, "Home - Power BI Report Server". I'm seeking to have it be something like "Folder - Name of System" so that our users are more familiar with it and it accurately reflects our branding. 

 

I welcome any help and thoughts - this is really a head scratcher?!

  • Just tried this succesfully on a test server,

    • Locate & Decompile Microsoft.ReportingServices.Portal.Web.dll
    • Tweak the Microsoft.ReportingServices.Portal.Web.wwwroot.index.html file within above
    • Add/update <title ng-bind="main.documentTitle">Your Title</title>
    • ReCompile dll
    • Replace above file & restart service

    ** Use at own risk **

9 Replies

  • bizwiz's avatar
    bizwiz
    Frequent Visitor

    Just tried this succesfully on a test server,

    • Locate & Decompile Microsoft.ReportingServices.Portal.Web.dll
    • Tweak the Microsoft.ReportingServices.Portal.Web.wwwroot.index.html file within above
    • Add/update <title ng-bind="main.documentTitle">Your Title</title>
    • ReCompile dll
    • Replace above file & restart service

    ** Use at own risk **

    • Retriever's avatar
      Retriever
      Frequent Visitor

      bizwiz, that's brilliant. Frightening but brilliant. Thanks so much for testing and sharing this!

  • bizwiz's avatar
    bizwiz
    Frequent Visitor

    Hi,

    Unfortunately, Branding update feature by Microsoft (as advised by other users here) doesn't provide a way to edit this value.

    Its a <Title> tag within report server portal's index.html page.

    Only way I can think of is by changing the index.html's <title> using bit of javascript/html. 

  • Just create an html file with report address embed in it. Open a text editor and write the following then save it as html.

    <!doctype html>

    <html>

    <head>

    <title>your desired title</title>

    </head>

    <body>

    <iframe src="yourlinkgoeshere?rs:embed=true" style="position:fixed; border:none; width:100%; height:100%; top:0; bottom: 0; right: 0; left: 0;"></iframe>

    </body>

    </html>

     You could also change your html tag if using other languages, for example:

    <html dir="rtl" lang="fa-IR">

    you could use <meta charset="utf-8"> in head tag if needed.

    Then use the html file in anyway you want locally, iis etc.