Skip to main content

Config Reference

This page provides a summary of the key configuration options for the Preflight widget. For the complete reference, see the onprem documentation.

Key Configuration Objects

Product Properties

PropertyTypeDescription
product.dpinumberOutput resolution in DPI (default: 300)
product.size.widthnumberProduct width in points (1 point = 1/72 inch)
product.size.heightnumberProduct height in points
product.pagesnumber | objectNumber of pages or page limits (init/min/max)
product.bleednumberBleed zone in points
product.allowAddPagesbooleanAllow users to add pages
product.allowDeletePagesbooleanAllow users to delete pages

File Uploader

PropertyTypeDescription
uploader.fileTypesstring[]Allowed file extensions. Supported: ".pdf", ".ai", ".bmp", ".eps", ".gif", ".jpg", ".jpeg", ".png", ".psd", ".tiff"
uploader.multiplebooleanEnable multiple file selection
uploader.initialModestringHow to fit uploaded files. Values: "fitToBleed", "fitToTrim", "fillToTrim", "fillToBleed", "default"
uploader.fileUploadBehaviorstringHow to place files. Values: "replaceFull", "insertCurrent", "insertNew"
uploader.fileMaxSizenumberMaximum file size in bytes (default: 536870912)

Validation Rules

PropertyTypeDescription
rules[].typestringRule type. Values: "colorspace", "spotcolors", "resolution", "safetyboxes", "nomargins", "insideBleedbox", "sameorientation", "forbiddenfonts", "allowedfonts", "fonttypes", "minfontsize", "textascurves", "embeddedfonts"
rules[].severitystringerror or warning
rules[].enableFixbooleanShow Fix button for autofix
rules[].pagesnumber[] | string[]Target pages (e.g., [1,3] or ["/2"] for every 2nd page)
rules[].paramsobjectRule-specific parameters (e.g., allowedColorSpaces for colorspace rule)

Rendering

PropertyTypeDescription
rendering.hiResOutputDpinumberHi-res output DPI
rendering.hiResOutputToSeparateFilesbooleanSeparate files per page
rendering.previewSize.widthnumberPreview width in pixels
rendering.previewSize.heightnumberPreview height in pixels

For the complete configuration reference with all available options, see the Preflight configuration documentation.

Was this page helpful?