Forum Discussion

Buttsj's avatar
Buttsj
Frequent Visitor
8 years ago
Solved

"pbiviz package" does not update visual's capabilities, but "pbiviz start" does

Hi,

 

I only started having this issue today, where I'll run pbiviz start and see the correct Format/capabilities on my visual (in the web app), but when I use pbiviz package it is stuck on an older version of my capabilities (for both web app/Desktop). Anyone deal with this issue?

 

edit: I was running on the pbiviz version 1.8.1, so I updated to v1.9.0 and both versions have the same issue.

 

edit2: I opened the pbiviz file in notepad and can see the correct Capabilities code (like the displayName, properties, etc.) so I know it is building this correctly. For whatever reason it isn't updating correctly after importing into PBI though...

  • Okay I figured it out - I recently put this visual into the AppSource store and I believe that was why I couldn't see any changes to the Capabilities. My solution was to change the "guid" in the pbiviz.json file and now I see a the new Capabilities.

  • You're absolutely correct. Power BI loads CV from our CDN if the visual is approved by App Source.

    That means that you should use another GUID or pbiviz start for development purposes.

     

    Ignat Vilesov,

    Software Engineer

     

    Microsoft Power BI Custom Visuals

    [email protected]

10 Replies

  • Buttsj's avatar
    Buttsj
    Frequent Visitor

    Okay I figured it out - I recently put this visual into the AppSource store and I believe that was why I couldn't see any changes to the Capabilities. My solution was to change the "guid" in the pbiviz.json file and now I see a the new Capabilities.

    • v-viig's avatar
      v-viig
      Icon for Community Champion rankCommunity Champion

      You're absolutely correct. Power BI loads CV from our CDN if the visual is approved by App Source.

      That means that you should use another GUID or pbiviz start for development purposes.

       

      Ignat Vilesov,

      Software Engineer

       

      Microsoft Power BI Custom Visuals

      [email protected]

      • jppp's avatar
        jppp
        Icon for Continued Contributor rankContinued Contributor

        An other option with the Power BI service is: add '?approvedResourcesDisabled=true' to the url to skip the CDN loading of approved visuals.

         

        -JP