Update OmniStudio FlexCard
sf_update_flexcardUpdate an existing OmniStudio FlexCard by merging only the fields you provide and redeploying it. Changes deactivate the card automatically; reactivate separately after update.
Instructions
Updates an existing OmniStudio FlexCard (OmniUiCard). Reads the current definition, merges the provided changes, and redeploys.
Provide only the fields you want to change. The card will be deactivated automatically if active — use sf_activate_flexcard to reactivate after the update.
All fields arrays (fields, actions, states) are replaced entirely if provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| fields | No | ||
| states | No | ||
| actions | No | ||
| cardName | Yes | API name of the FlexCard to update | |
| description | No | ||
| dataSourceName | No | ||
| dataSourceType | No |