Discard item

Discard the current dataform draft

Discards the current draft for the dataform.

Parameters

ParametersTypeDescription
optionsObjectOptional. viewId (String).

Syntax

await dataformInstance.discardItem();

Note

Note

Unlike Board's Discard item, no item Id is required here — this discards the current draft.

On this page