Forum Discussion
Cannot import my own custom visual
- 7 years ago
The reason was found.
Your package has size of more than 3Mb but PowerBI Service alow to import packages of size no more than 2Mb.
In than case you should unpack a built package by any archivator and pack manually as zip file and then change the extension to PIVIZ. It must help to reduce the package size.
Also you can use new tools that let to use JS modules and import 3rd party libraries as modules without including external links to pbiviz.json. It must help to reduce a package size and simplify work with outer libraries.
Details you can find by the following link (https://community.powerbi.com/t5/Custom-Visuals-Community-Blog/New-Beta-version-of-powerbi-visual-tools-v3/ba-p/545287)
Thank you! You saved me.
I did unzip pbiviz and re-zip them.
unzip exGrid.pbiviz zip -9 -r exGrid.zip package.json resources mv exGrid.zip exGrid.rezip.pbiviz
I have imported my pbiviz successfully.
Can you elaborate how you acheived this?