- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"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...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
An other option with the Power BI service is: add '?approvedResourcesDisabled=true' to the url to skip the CDN loading of approved visuals.
-JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a similar option for Power BI Desktop. I am trying to test a new version of my visual in Power BI Desktop but it suffers with the same problem that it is loading the approved version from CDN instead of the local pbiviz file that I have.
Thanks
Nishant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Nishantjain,
To test updating an already published visual in Power BI Desktop, the only solution I've found that works for me is to temporarily modify the GUID, package and test, as per this post's solution. It makes it tricky ensuring that everything is ready prior to submission to the marketplace - although as long as the latest version of your visual code is uploaded into your sampl workbook, even though it displays the previous version, it will submit okay.
Alternatively, I've had mixed results by using tools such as clumsy to block access to my network when I load the visual via desktop so that the CDN call can't go through and load the marketplace version. This isn't always consistent for me though, so the GUID change is usually what I do.
Not sure if this helps much, but thought I'd weigh in.
Daniel
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Power BI Desktop caches custom visuals and downloads the latest version of the visuals from the CDN network once in a while. Probably that is the reason that clumsy is not always working.
So indeed changing the GUID to a temp version is the preferred way to (extra) test your visuals in Power BI Desktop.
-JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi I've tried running the command: pbiviz start from it's root directory and yet I keep getting the error message:
could anybody help me with this?
I've generated the local SSL certificate and even installed the same step-wise sequentially
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What node.js version do you use?
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Probably 10.2.1 or 10.2.0
But definitely in the range of 10.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It seems you use a very old version of node.js that comes with Visual Studio.
Have you tried to install a LTS Node.js?
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
03-10-2021 01:14 PM | |||
06-06-2018 12:37 AM | |||
Anonymous
| 10-26-2021 04:59 AM | ||
Anonymous
| 09-23-2020 11:17 AM | ||
07-10-2024 06:50 AM |