Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface UrlWritebackConfig
import { type UrlWritebackConfig } from "https://deno.land/x/yextpages@pages%401.1.4/urlWriteback/mod.ts";

The shape of the configuration options for the writeback plugin.

The featureToFieldMap is an optional property that can be used to define a custom field to store a page's URL for other features that are powered by entity data i.e., custom review forms that are powered by entity data but have a different CF to store the prod URL of the page.

Properties

field: string
apiKey: string
optional
environment: "sbx" | "prod"
optional
v: string
optional
featureToFieldMap: Record<string, string>