Update Lightning Web Component
sf_update_lwcUpdate an existing Lightning Web Component by redeploying its HTML, JavaScript, or CSS files via the Metadata API. Provide the files to change; omitted files become empty placeholders.
Instructions
Updates an existing Lightning Web Component by redeploying it with updated HTML, JavaScript, or CSS. Provide only the files you want to update — any files omitted will use empty placeholders (so you should provide all files you want to keep). The component is redeployed via the Metadata API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | Updated CSS (leave undefined to keep existing) | |
| html | No | Updated HTML template (leave undefined to keep existing) | |
| apiVersion | No | API version | 66.0 |
| javascript | No | Updated JavaScript controller (leave undefined to keep existing) | |
| componentName | Yes | Existing LWC component name to update |