Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Issues w/ Custom Theme Import

I am having issues with my custom theme import. I created a JSON file that I believe is formatted correctly (see below), but I am getting the standard error " There was a problem importing your theme file. Please try again or choose another file". I also have the latest and greatest 64 bit version of PBI installed on a windows machine.

 

{
"name": "MyColors",
"dataColors": ["#2b8944", "#41c363", "#90dca4", "#d0f0d8", "#d2d2d2", "#919191", "#80dceb", "#ffd100", "#fff5353"],
"background":"#ffffff",
"foreground": "#d2d2d2",
"tableAccent": "#919191"
}

  • Hi Anonymous ,

    By my test and research, the issue should be casued by your last data color "#fff5353" which may have syntax error, it has 7 characters.

    If you correct it to be 6 charachters, I'm afraid it will be work.

    Best Regards,

    Cherry

     

2 Replies

  • v-piga-msft's avatar
    v-piga-msft
    Resident Rockstar

    Hi Anonymous ,

    By my test and research, the issue should be casued by your last data color "#fff5353" which may have syntax error, it has 7 characters.

    If you correct it to be 6 charachters, I'm afraid it will be work.

    Best Regards,

    Cherry

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      You are absolutley right! I was so busy going through the syntax, I missed the typo; thank you!