Reply
Member
Posts: 47
Registered: ‎06-17-2018
Accepted Solution

custom visual api update

What is a step by step procedure to update API of existing custom visual?

I need to update custom visual called "aaa" from API 1.11 to 2.2

 

I followed the:

https://github.com/Microsoft/PowerBI-visuals/blob/master/tools/usage.md#upgrading-to-a-different-api...

 

#Update your version of pbiviz
npm install -g powerbi-visuals-tools

#Run update from the root of your visual project (where pbiviz.json is located)
pbiviz update

but it does nothing to my existing custom visual. It works for newly created CV.

 


Accepted Solutions
Moderator
Posts: 1,564
Registered: ‎12-02-2016

Re: custom visual api update

Correct. Visuals in marketplace are build artifacts. PBIVIZ is only applicable for source code.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

View solution in original post


All Replies
Moderator
Posts: 1,564
Registered: ‎12-02-2016

Re: custom visual api update

Run pbiviz update 2.2.0

 

Let us know if that works for you.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Member
Posts: 47
Registered: ‎06-17-2018

Re: custom visual api update

ok, but this answer is not full. The command should be run agains the directory where a visualisation was created. 

If I download pbiviz from marketplace and run the command this method does not work. 

Moderator
Posts: 1,564
Registered: ‎12-02-2016

Re: custom visual api update

Correct. Visuals in marketplace are build artifacts. PBIVIZ is only applicable for source code.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com