update_flow_js_block
Modify JavaScript code within NocoBase flow pages to render custom HTML output using the ctx.render() sandbox API.
Instructions
Update the JavaScript code of a JSBlockModel inside a flowPage. Code runs in NocoBase sandbox — use ctx.render(htmlString) to render output. Example: ctx.render(<h1>Hello</h1>);
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Flow model UID of the JS block (JSBlockModel) | |
| code | Yes | JavaScript code using ctx.render(htmlString) sandbox API |