Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 18056

How is fast iteration coding done with a PBI Custom Visual?

$
0
0

Say you have developed a custom visual, how can you make an update and see the results quickly?

 

The approach below is way too slow for rapid interation and development.

 

The only way I know how to update a visual is:

  1. Open the visual's code file (visual.ts), make your changes, save file.
  2. Open pbiviz.json
  3. Make up a fake guid and replace the existing guid, save
  4. From the commmand line run pbiviz package
  5. In PBI Desktop delete the visual, which deletes any instances of it and it's bindings
  6. In PBI Desktop import the visual again, add another instance, add bindings

 

If you think I'm an idiot for not finding a faster way that may be true, but I'm not alone.  All the people in these multiple threads had problems with the update process.

 

I hope iteration is really now this cumbersome!  

Thanks!

 

1/27/2017 Modified Power BI custom visual and generated new pbiviz file, but not seeing changes
https://community.powerbi.com/t5/Developer/Modified-Power-BI-custom-visual-and-generated-new-pbiviz-file/m-p/120201#M4152

 

12/23/2016 Tweaking custom visual: change doesn't save
http://community.powerbi.com/t5/Developer/Tweaking-an-existing-Custom-Visual-the-change-is-successful-but/m-p/107019#M3739

 

4/28/2018 Problems updating Custom Visuals in Power BI Desktop
https://community.powerbi.com/t5/Developer/Problems-updating-Custom-Visuals-in-Power-BI-Desktop/td-p/31810


Viewing all articles
Browse latest Browse all 18056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>