Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric certified for FREE! Don't miss your chance! Learn more
Hi. I'm using a custom theme I've created, which defines the colour palette, background, custom icons etc.
When I apply it to a new blank report, I’d like it to insert a cover page using a template I’ve created and converted to base64.
Can this be done in the JSON script?
@Hans-Georg_Puls Thanks for replying. Let me explain a little better than I did. This is a section from my script.
"visualStyles": {
"*": {
"*": {
"background": [
{
"image": {
"name": "Dark",
"scaling": "Fit",
"url": "data:image/svg+xml;base64,PHN2ZyB3a==”
},
"transparency": 0,
"color": {
"solid": {
"color": "#272936"
}
}
}
],
}
},
"page": {
"*": {
"background": [
{
"color": {
"solid": {
"color": "#FFFFFF"
}
},
"transparency": 0
}
]
}
}
}
The first "background" section takes an image with corporate logos etc and uses it as the canvas background on the blank page of a new report. What I want to do in JSON is insert a page in front of that blank page (my cover page) with a different image. I'm not sure what the "page" section in my script actually does 🤔
Hi @MJG2112 ,
your first background section is valid as a default for every visual (not only pages) with no specific background setting. If you want that background setting only for pages I would recommend to use the notation of the second background section.
I'm not sure if I understand your requirements correctly:
I will at least share some thoughts with you:
Hope that helps a little bit.
Hi @MJG2112 ,
try the following:
Does this work for you and meet your requirements? Then feel free to give me a kudo or even accept this post as a solution.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 69 | |
| 59 | |
| 47 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 107 | |
| 107 | |
| 39 | |
| 27 | |
| 27 |