Forum Discussion
pbiviz package Error
- Anonymous6 years ago
So I got an answer from Microsoft support team. We need to replace NodeListOf with HTMLCollectionOf in visual.ts.
Hi dm-p ,
I had the same error while running pbiviz package. I followed your instruction and changed NodeListOf by HTMLCollectionOf in visual.ts file. Now I got the following error. I am very new to Power BI and working on fixing this error for the last 2 days. I am glad that I have a new error at this point:). I really appreciate any suggestion of how to fix the error with 'Author_name', "Author_email" and "Visual_Description".pbiviz_error
Thanks in advance.
Hi Anonymous,
You will need to edit pbiviz.json in the root folder of your visual and fill in the following fields:
- author.name
- author.email
- visual.description
- visual.supportUrl
These just have to have something in them otherwise the visual will not package correctly. Leila Etaati has an section on this in her blog post, under What is New in 2019 towards the bottom of the article if you need a visual guide.
If you're having trouble after this, add the contents of your pbiviz.json file here (or PM me) and I'll provide you with some examples.
Regards,
Daniel
- Anonymous6 years agoNot applicable
Hi Daniel dm-p ,
Thank you so much for your reply. I updated the pbiviz.json file with all the required information. Now I can successfully run pbiviz package command and its created a visual. I was following Leila's youtube video for installing the package. I am glad that now I have her blogpost article. Thanks again. Hopefully, I can work with the visual from now on. I will definitely PM you if anything comes up later.
Thank you so much again and I really appreciate your help.
Best Regards,
Nahar
- Anonymous6 years agoNot applicable
Hi, thanks for your reply. I just got a new question, I edited the pbiviz.json about author name and email, and I followed the Leilla's blog, it works, but what is the supportUrl and githubUrl part? How can I edit these two parts and create my own plot?
I will be appreciated.
- dm-p6 years agoSuper User
Hi Anonymous
supportUrl and githubUrl are optional, but should be filled out if you submit your visual to the marketplace. You aren't contingent on them for any local development work, particularly if just starting out.
- supportUrl is the URL that gets linked in the listing, e.g.:
- githubUrl is a place for you to provide a link to your source code, if you want share with people who are interested in exploring your visual's source further, or the custom visuals team to review code if you want to submit for certification.
Both of these can be the same value also, for example, if you host your visual's support documentation in the code repository your source code is contained in. My currently published visuals do this.
Hopefully this clears those questions up.
Regards,
Daniel
- Anonymous6 years agoNot applicable
- supportUrl is the URL that gets linked in the listing, e.g.: