set_textbox_content
Set rich multi-run text on a textbox in Power BI reports. Apply diverse styles, fonts, colors, hyperlinks, and bullet formatting to replace existing content.
Instructions
Set RICH multi-run text on a textbox (add_textbox is single-run). runs = JSON array of {text, fontFamily?, fontSize?, color?, bold?, italic?, url?} - each becomes a styled run on one paragraph; url makes a run a hyperlink. bulleted=true renders the paragraph as a bullet. Replaces the textbox's current content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | page name or displayName | |
| runs | Yes | JSON array of {text, fontFamily?, fontSize?, color?, bold?, italic?, url?} | |
| visual | Yes | the textbox visual's name | |
| bulleted | No | render as a bulleted paragraph | |
| reportSessionId | Yes |