Skip to content

Interface: StringEmbedSchema

Defined in: schema.ts:631

A schema representing a return value or object property that is provided as a string, which Coda should interpret as an embed value (e.g. a URL). Coda uses an external provider (iframely) to handle all embeds by default. If there is no support for a given embed that you want to use, you will need to use the force option which falls back to a generic iframe.

Extends

  • BaseStringSchema<Embed>

Properties

codaType

codaType: Embed

Defined in: schema.ts:633

Instructs Coda to render this value as an embed.

Overrides

BaseStringSchema.codaType


description?

optional description: string

Defined in: schema.ts:285

A explanation of this object schema property shown to the user in the UI.

If your pack has an object schema with many properties, it may be useful to explain the purpose or contents of any property that is not self-evident.

Inherited from

BaseStringSchema.description


force?

optional force: boolean

Defined in: schema.ts:642

Toggle whether to try to force embed the content in Coda. Should be kept to false for most cases.

By default, we use an external provider (iframely) that supports and normalizes embeds for different sites. If you are trying to embed an uncommon site or one that is not supported by them, you can set this to true to tell Coda to force render the embed. This renders a sandboxed iframe for the embed but requires user consent per-domain to actually display the embed.


type

type: String

Defined in: schema.ts:807

Identifies this schema as a string.

Inherited from

BaseStringSchema.type