Forum Discussion
Anonymous
8 years agoNot applicable
Creating pbiviz package from Custom Visual using Gulp
Hi there I have made some changes to the great Power BI Aquarium visual: https://community.powerbi.com/t5/Best-Visual-Contest/Power-BI-Aquarium/cns-p/7233 Now need to create the .pbiviz pac...
- 8 years ago
The getColor method returns an instance of IColorInfo.
To fix the issue you should return an object like this:
{ value: "#ED1C24" }Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Anonymous
8 years agoNot applicable
Gulpfile.js needs a line something like:
gulp.task('package', () => {
// Zip to .pbiviz file
gulp.src('dist/**')
.pipe(zip('MyModule.pbiviz'))
.pipe(gulp.dest('.'));
});to create the package.