Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Howto create or change SSRS2016 default palettes?

I need to define my company-branded color palette for SSRS. This should be re-usable over several reports. I realized that I sometimes need to redefine the custom palette again and again, sometimes even on different controls in the same report, but always on a new report. I know I could copy and paste the colors in the RDL file but I want to avoid that So I wondered since I know we can write extensions for reporting services, if there is a chance to change or create one of the default color palettes that already are shipped with ssrs? I looked around to find their definition on the Reporting Server but no luck. Anyone knows more?

like image 710
Magier Avatar asked Sep 05 '25 17:09

Magier


1 Answers

I've got around this by creating a table in the database with the 9 corporate colour schemes included. I've also adapted the default report template so that it includes a dataset called "Palette" for the colours. I then just use =First(Fields!Official,"Palette") as an expression for the colours where needed. I also have to change the colours for staff with particular visual needs so using this I can select the scheme appropriate for the staff member whilst having the official palette used in other cases.

like image 131
Boydus Avatar answered Sep 07 '25 17:09

Boydus