dw_paragraph_set_fields
Update DynamicWeb paragraph fields by specifying the paragraph ID and a map of field system names to new values. Supports HTML for richtext and file paths for images.
Instructions
Set item fields on a DynamicWeb paragraph.
Fetches the current paragraph, updates field values in its contentItem structure, then saves. fields is a key-value map where keys are field SystemNames and values are the content. For richtext fields, provide HTML string. For file/image fields use the file path string (e.g. "/Files/Images/hero.jpg").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paragraphId | Yes | Paragraph ID | |
| fields | Yes | Map of fieldSystemName -> value |