Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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
v-viig
Community Champion
Community Champion

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

3 REPLIES 3
v-viig
Community Champion
Community Champion

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

Anonymous
Not applicable

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. 

v-viig
Community Champion
Community Champion

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.