Dev Guide
Dev GuideUser GuidesGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

ChannelValidateOptions

OCP App SDK


OCP App SDK / ChannelValidateOptions

Interface: ChannelValidateOptions

Defined in: src/app/Channel.ts:220

Options for Channel.validate.

Properties

mode

mode: "test" | "preview" | "live"

Defined in: src/app/Channel.ts:225

Whether the validation is being performed for a preview, test send, or when going live. This can be used, for
example, to ignore certain fields that aren't required to preview but would cause an error when going live.


Did this page help you?