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:
- Open the visual's code file (visual.ts), make your changes, save file.
- Open pbiviz.json
- Make up a fake guid and replace the existing guid, save
- From the commmand line run pbiviz package
- In PBI Desktop delete the visual, which deletes any instances of it and it's bindings
- 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