register_custom_visual
Registers a custom visual in a Power BI report, making its visualType available for use. Optionally embeds a .pbiviz file and adds the visual's GUID to the report configuration.
Instructions
Register an imported CUSTOM VISUAL into the report so its visualType is usable: adds the guid to layout.config.publicCustomVisuals, and when a .pbiviz path is given, stages the file into resourcePackages. name = the visual's visualType/guid; guid defaults to name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guid | No | optional explicit guid (defaults to name) | |
| name | Yes | the custom visual's visualType/guid | |
| path | No | optional absolute path to the .pbiviz file to embed | |
| reportSessionId | Yes |