Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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.
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
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
An other option with the Power BI service is: add '?approvedResourcesDisabled=true' to the url to skip the CDN loading of approved visuals.
-JP
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
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
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
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
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
What node.js version do you use?
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Probably 10.2.1 or 10.2.0
But definitely in the range of 10.
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
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 |