Open iMicknl opened 3 years ago
Use the sample report as a test dataset.
It would be good to double check if this is a hard requirement, otherwise there is no chance that this visual will be certified. The visual can only cope with a very specific input, not a general input.
https://docs.microsoft.com/en-us/legal/marketplace/certification-policies#11802-functionality
Code repository requirements
Although you don't have to publicly share your code in GitHub, the code repository has to be available for a review by the Power BI team. The best way to do this, is by providing the source code (JavaScript or TypeScript) in GitHub.
The repository must contain the following:
File requirements
Use the latest version of the API to write the Power BI visual.
The repository must include the following files:
node_modules
,.tmp
anddist
to this file. The code cannot include the node_modules, .tmp or dist folders."lint": "tslint -c tslint.json -p tsconfig.json"
Command requirements
Make sure that the following commands don't return any errors.
npm install
pbiviz package
npm audit
- Must not return any warnings with high or moderate level.Compiling requirements
pbiviz package
. If you're using your own build scripts, provide anpm run package
custom build command.Source code requirements
Verify that you follow the Power BI visuals additional certification policy list. If your submission doesn't follow these guidelines, the rejection email from Partner Center will include the policy numbers listed in this link.
Follow the code requirements listed below to make sure that your code is in line with the Power BI certification policies.
The following are Required:
The following are Not allowed:
innerHTML
, orD3.html(user data or user input)
.eval()
, unsafe use ofsettimeout()
,requestAnimationFrame()
,setinterval(user input function)
, and user input or user data.