cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Gordon2 Member
Member

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.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Moderator v-viig
Moderator

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

3 REPLIES 3
Moderator v-viig
Moderator

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

Gordon2 Member
Member

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 v-viig
Moderator

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