cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ppike Frequent Visitor
Frequent Visitor

Default Branding Files for Web Portal

Hi, Does anyone know where I can get the default branding files for the web portal?

10 REPLIES 10
ppike Frequent Visitor
Frequent Visitor

Re: Default Branding Files for Web Portal

Thanks for the response stpnet, ideally I want the default branding files for PBI Report Server, to use it as a base and only make minor changes from there.

stpnet Established Member
Established Member

Re: Default Branding Files for Web Portal

The first blog I mentioned has the default branding package as a download.

TinHau Regular Visitor
Regular Visitor

Re: Default Branding Files for Web Portal

Is there a complete documentation of the json file content ? The mssqltips link is the best documentation attempt I have seen so far, but there must be something from MSFT, no ?

ppike Frequent Visitor
Frequent Visitor

Re: Default Branding Files for Web Portal

This is the best documentation of the json file that I have found;

 

https://craigporteous.com/2016/05/ssrs-2016-brand-package-breakdown/

 

The only default version of the json availble are for SSRS, I haven't been able to find the Power BI Report Server version.

xantari Regular Visitor
Regular Visitor

Re: Default Branding Files for Web Portal

If your curious where the default .less file that the brand file overrides it is here:

 

Finally found where this .less file exists. Use JustDecompile and open Microsoft.ReportingServices.Portal.Services.dll and find the Microsoft.ReportingServices.Portal.Services.SystemResources.UniversalBrand.less file so you can unravel the mystery.

 

Unfortunately a current version of the out of box UI .css is no where to be found. This needs to be remedied by Microsoft.

 

The ones indicated in this posting are for SSRS 2016. However there were alterations to this that Microsoft has not provided the defaults for in Power BI Report Server.

 

Update 1/4/2018: I was able to now just find the default colors file that you will have to manually reverse engineer back to a colors.json file in Microsoft.ReportingServices.Portal.Web.dll. The file in question is Microsoft.ReportingServices.Portal.Web.wwwroot.assets.css.brand_PBIRS.css. You would then need to take the .less file and map back all the colors to the LESS variables.

 

What Microsoft really needs to do here is provide their out of the box variables.less file, rather then just give us the compiled version.

xantari Regular Visitor
Regular Visitor

Re: Default Branding Files for Web Portal

I was able to cobble together a colors.json file based off of the LESS and cross referencing the resulting .css file output and mapping it to the LESS variables to get *most* of the default Power BI Server default color theme.

 

It is a bit different then what Microsoft has posted for SSRS 2016.

 

This took a lot of time to reverse engineer. Hopefully MS can fill in the gaps here, as it really needs improvement on their part.

 

I could not find the original definition for the theme>datapoints section or the following:

 

        "background":"#fff",
        "foreground":"#222",
        "mapBase":"#00aeef",
        "panelBackground":"#f6f6f6",
        "panelForeground":"#222",
        "panelAccent":"#00aeef",
        "tableAccent":"#00aeef",

        "altBackground":"#f6f6f6",
        "altForeground":"#000",
        "altMapBase":"#f68c1f",
        "altPanelBackground":"#235378",
        "altPanelForeground":"#fff",
        "altPanelAccent":"#fdc336",
        "altTableAccent":"#fdc336"
 
All others I was able to map back however. You can do a diff on this one and compare it to the out of box Microsoft one for SSRS 2016 to see all the differences.
 
Highlighted
xantari Regular Visitor
Regular Visitor

Re: Default Branding Files for Web Portal

Unfortunately after trying for hours to properly brand the Power BI Report Server I have given up.

 

Microsoft has made some mistakes with the way they utilized the variables in Power BI Report Server that were not made in SSRS 2016 such that it is almost impossible to get a good UI scheme working easily.

 

To give you some examples:

 

1. They used neutralPrimary on a large number of LESS variables that don't even relate to each other. So when you change that one it cascades down to a bunch of elements you don't want it to cascade down to.

2. They defined bodyBg in their LESS file to be neutralPrimaryAlt, but they also assigned it to toolbarPageBg!?

 

Been at this for hours now.

Cristian_Angyal Frequent Visitor
Frequent Visitor

Re: Default Branding Files for Web Portal

Thanks for your hard-work.

I was looking for this for days ... as I gave up modifying the SSRS template 😄

 

THANK YOU !

Helpful resources

Announcements
Coming Soon: T-Shirt Design Contest

Coming Soon: T-Shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors