Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Theme files working with custom visuals

I've been searching for an answer to this question without much success.  I'm in the process of building out a theme file for our organisation.  There are a number of common custom visuals we use, like HTML content.  Unlike standard visuals, i'm unable to check a schema file to know the names of these custom visuals.  What is the best method to detiremine what a visual's true name is such that I could create an entry in our theme JSON file?

  • Anonymous's avatar
    Anonymous
    2 years ago

    I don't know if this solution is the best but investigating further on this.  I've saved my Report as a PBIP project.  I've gone into a file that is saved known as 'Report.json".  Inside that file is a section called "publicCustomVisuals" which has listed out the names of the visuals i'm using, with a bunch of letters and numbers after the name.  I believe those are to ensure uniquness just in case 2 custom visuals share a name.

     

    If i search "Report.json" for this visual, i can see all of the settings that i've applied and it works in a way to help me understand the schema.  I've been able to build a custom theme utilising a visual i've got from the microsoft store.

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    I don't know if this solution is the best but investigating further on this.  I've saved my Report as a PBIP project.  I've gone into a file that is saved known as 'Report.json".  Inside that file is a section called "publicCustomVisuals" which has listed out the names of the visuals i'm using, with a bunch of letters and numbers after the name.  I believe those are to ensure uniquness just in case 2 custom visuals share a name.

     

    If i search "Report.json" for this visual, i can see all of the settings that i've applied and it works in a way to help me understand the schema.  I've been able to build a custom theme utilising a visual i've got from the microsoft store.