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)
I tried to build it but it requires some files from "vendor" folder.
Is it possible to provide them?
Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
[email protected]
I zipped some files in vendor directory.
https://1drv.ms/f/s!AoOnXNteXYjpiQSsAS6l4wOfeDvP
Zip password: greatbi
I will delete this file after a day.
Thanks.
- v-evelk7 years agoMicrosoft Employee
Thanks, I have downloaded them.
Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
[email protected]- v-evelk7 years agoMicrosoft Employee
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)
- ziyi7 years agoRegular Visitor
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.