Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I had made a simple custom theme a while ago that has been working fine. Then today I was playing around with custom themes from the gallery to see what they did, and when I tried to switch back to the custom theme I had been using I got an error message that it could not be uploaded. The thing is, I haven't changed anything and it had been working before. Here is the code:
{ "name": "UPMC Brand Theme", "dataColors": ["#771b61", "#904199", "#C784E2", "#4D104A", "#0092B3", "#A9B533", "#4D104A", "#F47721", "#BB2353", "#F37F89", "#CDDC29", "#FBAF5D", "#47C6E6", "#78777A", "#BDBBBB"], "background":"#DBD9D6", "foreground": "#363533", "tableAccent": "#666D70", }
Do you see anything here that might be causing an error?
Solved! Go to Solution.
Hi @godfreyan
I can see the issue in your code
{ "name": "UPMC Brand Theme", "dataColors": ["#771b61", "#904199", "#C784E2", "#4D104A", "#0092B3", "#A9B533", "#4D104A", "#F47721", "#BB2353", "#F37F89", "#CDDC29", "#FBAF5D", "#47C6E6", "#78777A", "#BDBBBB"], "background":"#DBD9D6", "foreground": "#363533", "tableAccent": "#666D70" }
Remove comma at the end of table accent enumneration.
Hi @godfreyan
I can see the issue in your code
{ "name": "UPMC Brand Theme", "dataColors": ["#771b61", "#904199", "#C784E2", "#4D104A", "#0092B3", "#A9B533", "#4D104A", "#F47721", "#BB2353", "#F37F89", "#CDDC29", "#FBAF5D", "#47C6E6", "#78777A", "#BDBBBB"], "background":"#DBD9D6", "foreground": "#363533", "tableAccent": "#666D70" }
Remove comma at the end of table accent enumneration.
Thank you so much! That fixed it!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
98 | |
79 | |
67 | |
60 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |