Forum Discussion

DavidS524's avatar
DavidS524
Helper I
3 years ago

Custom JSON Theme files are not working

Hi everyone,

 

My custom theme is no longer working after the recent updates, which I believe occurred in the February released. I get this error when trying to import it in PBI Desktop:

 

#/visualStyles/slicer must NOT have additional properties (additionalProperties; matching schema #/properties/visualStyles/properties/slicer/additionalProperties)

 

When I open the theme JSON file in VS Codeand compare it to the schema JSON as was suggested in a similar thread, I get the following errors:

  

 

Property multiRowCard is not allowed.

Property tableEx is not allowed.

Property pivotTable is not allowed.

 

I initially thought that these may have been renamed but the strange thing is that when browsing through the schema JSON, all of those are still included. If I delete all four, slicer, MultiRowCard, TableEx, and PivotTable, the theme will load. Ideally though I would like to keep them in with whatever changes are now required. Does anyone have any ideas on how to fix these? There was a similar thread on this topic which has been marked as solved as I guess that person was able to figure their errors out. So far I have been unable to find a solution for these.

 

Thank you!

1 Reply

  • Do any Microsoft employees know if this is expected behavior based on a recent update, or is this a bug that will be addressed? I'm not sure if I should be trying to troubleshoot it further or not. I did not see any posts on the PBI Blog about changes to custom theme templates.