Discard item
Discard the current dataform draft
Discards the current draft for the dataform.
Parameters
| Parameters | Type | Description |
|---|---|---|
| options | Object | Optional. viewId (String). |
Syntax
await dataformInstance.discardItem();Note
Note
Unlike Board's Discard item, no item Id is required here — this discards the current draft.

