> ## Documentation Index
>
> Fetch the complete documentation index at: [/docs/llms.txt](https://filecheck.io/docs/llms.txt)
>
> Use this file to discover all available pages before exploring further.

[Skip to main content](/content/docs/element/connectors/index.html#content-area)

A **Connector** maps facts Filecheck derives about a file (page count, dimensions, area) onto your product page’s own controls (quantity, width, height, size). The merchant authors it in the admin ( **Library → Connectors**); you pass it to the Element, which writes the values into the DOM on every status update. No host wiring is required.Typical uses: set **quantity** from page count (a multi-page PDF means N prints), or fill **width/height** inputs from artwork dimensions (canvas, banner, sticker), with unit conversion.

## [Navigate to header: Apply a connector](/content/docs/element/connectors/index.html#apply-a-connector) Apply a connector

Pass the config inline. The Element resolves each binding and writes it to the first matching control, dispatching `input` and `change` so your framework reacts:

```
const intake = fc.elements.create('intake', {
  workflowId: 'wf_…',
  connector: {
    title: 'Canvas size sync',
    bindings: [\
      { source: 'pageCount', control: 'quantity' },\
      { source: 'width',  control: 'width',  convertTo: 'cm', decimals: 1 },\
      { source: 'height', control: 'height', convertTo: 'cm', decimals: 1 },\
      { source: 'area',   control: 'area',   convertTo: 'cm', round: 'ceil' },\
    ],
  },
});
```

At runtime:

```
intake.setConnector(connectorConfig); // re-applies against the last facts
intake.applyNow();                     // force a re-apply, e.g. after a DOM swap
```

## [Navigate to header: Binding shape](/content/docs/element/connectors/index.html#binding-shape) Binding shape

[Navigate to header: source](/content/docs/element/connectors/index.html#param-source)

source

'pageCount' \| 'fileCount' \| 'width' \| 'height' \| 'area'

required

[Navigate to header: control](/content/docs/element/connectors/index.html#param-control)

control

'quantity' \| 'width' \| 'height' \| 'area'

Auto-fills the built-in preset selectors for common Shopify / WooCommerce / PrestaShop / Magento themes.

[Navigate to header: customSelector](/content/docs/element/connectors/index.html#param-custom-selector)

customSelector

string

A CSS selector tried first, for theme-specific markup.

[Navigate to header: convertFrom / convertTo](/content/docs/element/connectors/index.html#param-convert-from-convert-to)

convertFrom / convertTo

'mm' \| 'cm' \| 'in' \| 'pt' \| number

Dimensional sources are millimetres. For `area`, the factor is squared automatically.

[Navigate to header: decimals](/content/docs/element/connectors/index.html#param-decimals)

decimals

number

[Navigate to header: round](/content/docs/element/connectors/index.html#param-round)

round

'round' \| 'floor' \| 'ceil'

Plugin authors usually don’t build bindings by hand. The connector arrives as JSON from your backend (fetched from Filecheck); pass it straight through as the `connector` option, or resolve it server-side with `connectorId`.

When a theme uses non-standard markup, the merchant adds a `customSelector` in the admin. The plugin stays theme-agnostic.

[Suggest edits](https://github.com/sterlyai/mintlify-docs/edit/main/element/connectors.mdx) [Raise issue](https://github.com/sterlyai/mintlify-docs/issues/new?title=Issue%20on%20docs&body=Path:%20/element/connectors)

{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Filecheck","colors":{"primary":"#1F5BFF","light":"#6088FF","dark":"#1747CC"},"logo":{"light":"https://mintcdn.com/filecheck/rNybgOKFlLbMhWeh/logo/light.svg?fit=max\\u0026auto=format\\u0026n=rNybgOKFlLbMhWeh\\u0026q=85\\u0026s=7bc29281132ca05b5217412db9e93fb8","dark":"https://mintcdn.com/filecheck/rNybgOKFlLbMhWeh/logo/dark.svg?fit=max\\u0026auto=format\\u0026n=rNybgOKFlLbMhWeh\\u0026q=85\\u0026s=e5a15a223efa144fa97287b4b96c0236"},"favicon":"https://mintcdn.com/filecheck/rNybgOKFlLbMhWeh/favicon.svg?fit=max\\u0026auto=format\\u0026n=rNybgOKFlLbMhWeh\\u0026q=85\\u0026s=1ca0b6f62da3e8005a37cf842f98f9c3","background":{"color":{"light":"#FFFFFF","dark":"#090B1A"}},"navbar":{"links":\[{"href":"https://filecheck.io","label":"Website"}\],"primary":{"type":"button","label":"Dashboard","href":"https://admin.filecheck.io"}},"footer":{"socials":{"x":"https://x.com/filecheckio","linkedin":"https://linkedin.com/company/filecheckio"},"links":\[{"header":"Trust","items":\[{"label":"Security and GDPR","href":"https://filecheck.io/security"},{"label":"Data Processing Agreement","href":"https://filecheck.io/company/dpa"},{"label":"Privacy policy","href":"https://filecheck.io/company/privacy"}\]}\]},"contextual":{"options":\["copy","view","download-spec","chatgpt","claude"\],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":\[{"anchor":"Demos","icon":"play","href":"https://filecheck.io/demos"},{"anchor":"Support","icon":"envelope","href":"mailto:support@filecheck.io"}\]},"pages":\[\]}},"deployment":{"deploymentMetadataValue":{"subdomain":"filecheck","hasAudioNarration":false,"actualSubdomain":"filecheck","customDomains":\["filecheck.io"\],"gitSource":{"type":"github","owner":"sterlyai","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"issues":true,"edits":true},"entitlements":{"AI\_CHAT":{"status":"DISABLED"}},"buildId":"6b0090f255d283cfb9f3b5aa","clientVersion":"0.0.4342","searchFilterCounts":\[{"language":"default","tag":"API reference","count":69},{"language":"default","tag":"Documentation","count":36},{"language":"default","tag":"Developers","count":23},{"language":"default","tag":"Admin guide","count":16},{"language":"default","tag":"Jobs","count":9},{"language":"default","tag":"Preflight Profiles","count":8},{"language":"default","tag":"The Element","count":7},{"language":"default","tag":"Connectors","count":7},{"language":"default","tag":"Optimize presets","count":7},{"language":"default","tag":"Profiles","count":7}\]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":\[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature\_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature\_enabled":true},"impressionData":false}\],"starterQuestions":\[\],"privacy":{"consentBanner":{"enabled":false}},"googleFontsInlined":false},"customCss":\[\]}
 {"page":{"pagePath":"element/connectors","slug":"/element/connectors","pageMetadata":{"title":"Connectors","description":"Sync file facts (page count, dimensions) onto your product-page controls without custom code.","href":"/element/connectors"},"description":{"compiledSource":"\\"use strict\\";\\nconst {jsx: \_jsx} = arguments\[0\];\\nconst {useMDXComponents: \_provideComponents} = arguments\[0\];\\nfunction \_createMdxContent(props) {\\n const \_components = {\\n p: \\"p\\",\\n ...\_provideComponents(),\\n ...props.components\\n };\\n return \_jsx(\_components.p, {\\n children: \\"Sync file facts (page count, dimensions) onto your product-page controls without custom code.\\"\\n });\\n}\\nfunction MDXContent(props = {}) {\\n const {wrapper: MDXLayout} = {\\n ...\_provideComponents(),\\n ...props.components\\n };\\n return MDXLayout ? \_jsx(MDXLayout, {\\n ...props,\\n children: \_jsx(\_createMdxContent, {\\n ...props\\n })\\n }) : \_createMdxContent(props);\\n}\\nreturn {\\n default: MDXContent\\n};\\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\\"use strict\\";const{Fragment:\_Fragment,jsx:\_jsx,jsxs:\_jsxs}=arguments\[0\];const{useMDXComponents:\_provideComponents}=arguments\[0\];function \_createMdxContent(props){const \_components={code:\`code\`,p:\`p\`,pre:\`pre\`,span:\`span\`,strong:\`strong\`,...\_provideComponents(),...props.components},{CodeBlock,Heading,Note,ParamField,Tip}=\_components;if(!CodeBlock)\_missingMdxReference(\`CodeBlock\`,true);if(!Heading)\_missingMdxReference(\`Heading\`,true);if(!Note)\_missingMdxReference(\`Note\`,true);if(!ParamField)\_missingMdxReference(\`ParamField\`,true);if(!Tip)\_missingMdxReference(\`Tip\`,true);return \_jsxs(\_Fragment,{children:\[\_jsxs(\_components.p,{children:\[\`A \`,\_jsx(\_components.strong,{children:\`Connector\`}),\` maps facts Filecheck derives about a file (page count, dimensions, area) onto your product page’s own controls (quantity, width, height, size). The merchant authors it in the admin (\`,\_jsx(\_components.strong,{children:\`Library → Connectors\`}),\`); you pass it to the Element, which writes the values into the DOM on every status update. No host wiring is required.\`\]}),\`\\n\`,\_jsxs(\_components.p,{children:\[\`Typical uses: set \`,\_jsx(\_components.strong,{children:\`quantity\`}),\` from page count (a multi-page PDF means N prints), or fill \`,\_jsx(\_components.strong,{children:\`width/height\`}),\` inputs from artwork dimensions (canvas, banner, sticker), with unit conversion.\`\]}),\`\\n\`,\_jsx(Heading,{level:\`2\`,id:\`apply-a-connector\`,children:\`Apply a connector\`}),\`\\n\`,\_jsxs(\_components.p,{children:\[\`Pass the config inline. The Element resolves each binding and writes it to the first matching control, dispatching \`,\_jsx(\_components.code,{children:\`input\`}),\` and \`,\_jsx(\_components.code,{children:\`change\`}),\` so your framework reacts:\`\]}),\`\\n\`,\_jsx(CodeBlock,{filename:\`\`,numberOfLines:\`12\`,language:\`javascript\`,children:\_jsx(\_components.pre,{className:\`shiki shiki-themes github-light-default dark-plus\`,style:{backgroundColor:\`#ffffff\`,\\"--shiki-dark-bg\\":\`#0B0C0E\`,color:\`#1f2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},language:\`javascript\`,children:\_jsxs(\_components.code,{language:\`javascript\`,numberOfLines:\`12\`,children:\[\_jsxs(\_components.span,{className:\`line\`,children:\[\_jsx(\_components.span,{style:{color:\`#CF222E\`,\\"--shiki-dark\\":\`#569CD6\`},children:\`const\`}),\_jsx(\_components.span,{style:{color:\`#0550AE\`,\\"--shiki-dark\\":\`#4FC1FF\`},children:\` intake\`}),\_jsx(\_components.span,{style:{color:\`#CF222E\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\` =\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#9CDCFE\`},children:\` fc\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\`.\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#9CDCFE\`},children:\`elements\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\`.\`}),\_jsx(\_components.span,{style:{color:\`#8250DF\`,\\"--shiki-dark\\":\`#DCDCAA\`},children:\`create\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\`(\`}),\_jsx(\_components.span,{style:{color:\`#0A3069\`,\\"--shiki-dark\\":\`#CE9178\`},children:\`'intake'\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\`, {\`})\]}),\`\\n\`,\_jsxs(\_components.span,{className:\`line\`,children:\[\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#9CDCFE\`},children:\` workflowId:\`}),\_jsx(\_components.span,{style:{color:\`#0A3069\`,\\"--shiki-dark\\":\`#CE9178\`},children:\` 'wf\_…'\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\`,\`})\]}),\`\\n\`,\_jsxs(\_components.span,{className:\`line\`,children:\[\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#9CDCFE\`},children:\` connector:\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\` {\`})\]}),\`\\n\`,\_jsxs(\_components.span,{className:\`line\`,children:\[\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#9CDCFE\`},children:\` title:\`}),\_jsx(\_components.span,{style:{color:\`#0A3069\`,\\"--shiki-dark\\":\`#CE9178\`},children:\` 'Canvas size sync'\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\`,\`})\]}),\`\\n\`,\_jsxs(\_components.span,{className:\`line\`,children:\[\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#9CDCFE\`},children:\` bindings:\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\` \[\`})\]}),\`\\n\`,\_jsxs(\_components.span,{className:\`line\`,children:\[\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\` { \`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#9CDCFE\`},children:\`source:\`}),\_jsx(\_components.span,{style:{color:\`#0A3069\`,\\"--shiki-dark\\":\`#CE9178\`},children:\` 'pageCount'\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\`, \`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#9CDCFE\`},children:\`control:\`}),\_jsx(\_components.span,{style:{color:\`#0A3069\`,\\"--shiki-dark\\":\`#CE9178\`},children:\` 'quantity'\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\` },\`})\]}),\`\\n\`,\_jsxs(\_components.span,{className:\`line\`,children:\[\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\` { \`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#9CDCFE\`},children:\`source:\`}),\_jsx(\_components.span,{style:{color:\`#0A3069\`,\\"--shiki-dark\\":\`#CE9178\`},children:\` 'width'\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\`, \`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#9CDCFE\`},children:\`control:\`}),\_jsx(\_components.span,{style:{color:\`#0A3069\`,\\"--shiki-dark\\":\`#CE9178\`},children:\` 'width'\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\`, \`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#9CDCFE\`},children:\`convertTo:\`}),\_jsx(\_components.span,{style:{color:\`#0A3069\`,\\"--shiki-dark\\":\`#CE9178\`},children:\` 'cm'\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\`, \`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#9CDCFE\`},children:\`decimals:\`}),\_jsx(\_components.span,{style:{color:\`#0550AE\`,\\"--shiki-dark\\":\`#B5CEA8\`},children:\` 1\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\` },\`})\]}),\`\\n\`,\_jsxs(\_components.span,{className:\`line\`,children:\[\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\` { \`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#9CDCFE\`},children:\`source:\`}),\_jsx(\_components.span,{style:{color:\`#0A3069\`,\\"--shiki-dark\\":\`#CE9178\`},children:\` 'height'\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\`, \`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#9CDCFE\`},children:\`control:\`}),\_jsx(\_components.span,{style:{color:\`#0A3069\`,\\"--shiki-dark\\":\`#CE9178\`},children:\` 'height'\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\`, \`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#9CDCFE\`},children:\`convertTo:\`}),\_jsx(\_components.span,{style:{color:\`#0A3069\`,\\"--shiki-dark\\":\`#CE9178\`},children:\` 'cm'\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\`, \`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#9CDCFE\`},children:\`decimals:\`}),\_jsx(\_components.span,{style:{color:\`#0550AE\`,\\"--shiki-dark\\":\`#B5CEA8\`},children:\` 1\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\` },\`})\]}),\`\\n\`,\_jsxs(\_components.span,{className:\`line\`,children:\[\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\` { \`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#9CDCFE\`},children:\`source:\`}),\_jsx(\_components.span,{style:{color:\`#0A3069\`,\\"--shiki-dark\\":\`#CE9178\`},children:\` 'area'\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\`, \`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#9CDCFE\`},children:\`control:\`}),\_jsx(\_components.span,{style:{color:\`#0A3069\`,\\"--shiki-dark\\":\`#CE9178\`},children:\` 'area'\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\`, \`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#9CDCFE\`},children:\`convertTo:\`}),\_jsx(\_components.span,{style:{color:\`#0A3069\`,\\"--shiki-dark\\":\`#CE9178\`},children:\` 'cm'\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\`, \`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#9CDCFE\`},children:\`round:\`}),\_jsx(\_components.span,{style:{color:\`#0A3069\`,\\"--shiki-dark\\":\`#CE9178\`},children:\` 'ceil'\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\` },\`})\]}),\`\\n\`,\_jsx(\_components.span,{className:\`line\`,children:\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\` \],\`})}),\`\\n\`,\_jsx(\_components.span,{className:\`line\`,children:\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\` },\`})}),\`\\n\`,\_jsx(\_components.span,{className:\`line\`,children:\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\`});\`})}),\`\\n\`\]})})}),\`\\n\`,\_jsx(\_components.p,{children:\`At runtime:\`}),\`\\n\`,\_jsx(CodeBlock,{filename:\`\`,numberOfLines:\`2\`,language:\`javascript\`,children:\_jsx(\_components.pre,{className:\`shiki shiki-themes github-light-default dark-plus\`,style:{backgroundColor:\`#ffffff\`,\\"--shiki-dark-bg\\":\`#0B0C0E\`,color:\`#1f2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},language:\`javascript\`,children:\_jsxs(\_components.code,{language:\`javascript\`,numberOfLines:\`2\`,children:\[\_jsxs(\_components.span,{className:\`line\`,children:\[\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#9CDCFE\`},children:\`intake\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\`.\`}),\_jsx(\_components.span,{style:{color:\`#8250DF\`,\\"--shiki-dark\\":\`#DCDCAA\`},children:\`setConnector\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\`(\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#9CDCFE\`},children:\`connectorConfig\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\`); \`}),\_jsx(\_components.span,{style:{color:\`#6E7781\`,\\"--shiki-dark\\":\`#6A9955\`},children:\`// re-applies against the last facts\`})\]}),\`\\n\`,\_jsxs(\_components.span,{className:\`line\`,children:\[\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#9CDCFE\`},children:\`intake\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\`.\`}),\_jsx(\_components.span,{style:{color:\`#8250DF\`,\\"--shiki-dark\\":\`#DCDCAA\`},children:\`applyNow\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\`(); \`}),\_jsx(\_components.span,{style:{color:\`#6E7781\`,\\"--shiki-dark\\":\`#6A9955\`},children:\`// force a re-apply, e.g. after a DOM swap\`})\]}),\`\\n\`\]})})}),\`\\n\`,\_jsx(Heading,{level:\`2\`,id:\`binding-shape\`,children:\`Binding shape\`}),\`\\n\`,\_jsx(ParamField,{path:\`source\`,type:\`'pageCount' \| 'fileCount' \| 'width' \| 'height' \| 'area'\`,required:true,id:\`param-source\`}),\`\\n\`,\_jsx(ParamField,{path:\`control\`,type:\`'quantity' \| 'width' \| 'height' \| 'area'\`,id:\`param-control\`,children:\_jsx(\_components.p,{children:\`Auto-fills the built-in preset selectors for common Shopify / WooCommerce / PrestaShop / Magento themes.\`})}),\`\\n\`,\_jsx(ParamField,{path:\`customSelector\`,type:\`string\`,id:\`param-custom-selector\`,children:\_jsx(\_components.p,{children:\`A CSS selector tried first, for theme-specific markup.\`})}),\`\\n\`,\_jsx(ParamField,{path:\`convertFrom / convertTo\`,type:\`'mm' \| 'cm' \| 'in' \| 'pt' \| number\`,id:\`param-convert-from-convert-to\`,children:\_jsxs(\_components.p,{children:\[\`Dimensional sources are millimetres. For \`,\_jsx(\_components.code,{children:\`area\`}),\`, the factor is squared automatically.\`\]})}),\`\\n\`,\_jsx(ParamField,{path:\`decimals\`,type:\`number\`,id:\`param-decimals\`}),\`\\n\`,\_jsx(ParamField,{path:\`round\`,type:\`'round' \| 'floor' \| 'ceil'\`,id:\`param-round\`}),\`\\n\`,\_jsx(Note,{children:\_jsxs(\_components.p,{children:\[\`Plugin authors usually don’t build bindings by hand. The connector arrives as JSON from your backend (fetched from Filecheck); pass it straight through as the \`,\_jsx(\_components.code,{children:\`connector\`}),\` option, or resolve it server-side with \`,\_jsx(\_components.code,{children:\`connectorId\`}),\`.\`\]})}),\`\\n\`,\_jsx(Tip,{children:\_jsxs(\_components.p,{children:\[\`When a theme uses non-standard markup, the merchant adds a \`,\_jsx(\_components.code,{children:\`customSelector\`}),\` in the admin. The plugin stays theme-agnostic.\`\]})})\]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...\_provideComponents(),...props.components};return MDXLayout?\_jsx(MDXLayout,{...props,children:\_jsx(\_createMdxContent,{...props})}):\_createMdxContent(props)}return{default:MDXContent};function \_missingMdxReference(id,component){throw new Error(\`Expected \`+(component?\`component\`:\`object\`)+\\" \`\\"+id+\\"\` to be defined: you likely forgot to import, pass, or provide it.\\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Connectors","description":"Sync file facts (page count, dimensions) onto your product-page controls without custom code.","href":"/element/connectors"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":\[{"title":"Apply a connector","slug":"apply-a-connector","depth":2,"children":\[\]},{"title":"Binding shape","slug":"binding-shape","depth":2,"children":\[\]}\],"codeExamples":{}},"jsLinks":\["/docs/\_mintlify/custom/filecheck/6de6adfb358c6d44/ga-consent.js"\],"subdomain":"filecheck","siteName":"Filecheck","title":"Connectors - Filecheck","contextualStarterQuestions":\[\],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-16T09:16:10.508Z","originalFileLocation":"element/connectors.mdx"},"headHtml":"\\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\\"isDarkMode\\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\\u0026\\u0026p!=='dark'\\u0026\\u0026p!=='system')p=\\"system\\"}var r=p==='system'?(matchMedia(\\"(prefers-color-scheme: dark)\\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\\"data-theme-preference\\",p)})();\\u003c/script>\\u003cmeta data-mint-head name=\\"description\\" content=\\"Sync file facts (page count, dimensions) onto your product-page controls without custom code.\\">\\u003cmeta data-mint-head name=\\"application-name\\" content=\\"Filecheck\\">\\u003cmeta data-mint-head name=\\"generator\\" content=\\"Mintlify\\">\\u003clink data-mint-head rel=\\"icon\\" type=\\"image/png\\" sizes=\\"192x192\\" href=\\"/docs/mintlify-assets/\_mintlify/favicons/filecheck/NelkTiDjeD6s\_0IH/\_generated/favicon/android-chrome-192x192.png\\" media=\\"(prefers-color-scheme: light)\\">\\u003clink data-mint-head rel=\\"apple-touch-icon\\" type=\\"image/png\\" sizes=\\"180x180\\" href=\\"/docs/mintlify-assets/\_mintlify/favicons/filecheck/NelkTiDjeD6s\_0IH/\_generated/favicon/apple-touch-icon.png\\">\\u003clink data-mint-head rel=\\"icon\\" type=\\"image/png\\" sizes=\\"16x16\\" href=\\"/docs/mintlify-assets/\_mintlify/favicons/filecheck/NelkTiDjeD6s\_0IH/\_generated/favicon/favicon-16x16.png\\" media=\\"(prefers-color-scheme: light)\\">\\u003clink data-mint-head rel=\\"icon\\" type=\\"image/png\\" sizes=\\"32x32\\" href=\\"/docs/mintlify-assets/\_mintlify/favicons/filecheck/NelkTiDjeD6s\_0IH/\_generated/favicon/favicon-32x32.png\\" media=\\"(prefers-color-scheme: light)\\">\\u003clink data-mint-head rel=\\"shortcut icon\\" type=\\"image/x-icon\\" href=\\"/docs/mintlify-assets/\_mintlify/favicons/filecheck/NelkTiDjeD6s\_0IH/\_generated/favicon/favicon.ico\\" media=\\"(prefers-color-scheme: light)\\">\\u003clink data-mint-head rel=\\"icon\\" type=\\"image/png\\" sizes=\\"192x192\\" href=\\"/docs/mintlify-assets/\_mintlify/favicons/filecheck/NelkTiDjeD6s\_0IH/\_generated/favicon-dark/android-chrome-192x192.png\\" media=\\"(prefers-color-scheme: dark)\\">\\u003clink data-mint-head rel=\\"icon\\" type=\\"image/png\\" sizes=\\"16x16\\" href=\\"/docs/mintlify-assets/\_mintlify/favicons/filecheck/NelkTiDjeD6s\_0IH/\_generated/favicon-dark/favicon-16x16.png\\" media=\\"(prefers-color-scheme: dark)\\">\\u003clink data-mint-head rel=\\"icon\\" type=\\"image/png\\" sizes=\\"32x32\\" href=\\"/docs/mintlify-assets/\_mintlify/favicons/filecheck/NelkTiDjeD6s\_0IH/\_generated/favicon-dark/favicon-32x32.png\\" media=\\"(prefers-color-scheme: dark)\\">\\u003clink data-mint-head rel=\\"shortcut icon\\" type=\\"image/x-icon\\" href=\\"/docs/mintlify-assets/\_mintlify/favicons/filecheck/NelkTiDjeD6s\_0IH/\_generated/favicon-dark/favicon.ico\\" media=\\"(prefers-color-scheme: dark)\\">\\u003cmeta data-mint-head property=\\"og:title\\" content=\\"Connectors - Filecheck\\">\\u003cmeta data-mint-head property=\\"og:description\\" content=\\"Sync file facts (page count, dimensions) onto your product-page controls without custom code.\\">\\u003cmeta data-mint-head property=\\"og:site\_name\\" content=\\"Filecheck\\">\\u003cmeta data-mint-head property=\\"og:url\\" content=\\"https://filecheck.io/docs/element/connectors\\">\\u003cmeta data-mint-head property=\\"og:type\\" content=\\"website\\">\\u003cmeta data-mint-head property=\\"og:image\\" content=\\"https://filecheck.mintlify.site/docs/\_mintlify/api/og/v2?division=The+Element\\u0026amp;title=Connectors\\u0026amp;description=Sync+file+facts+%28page+count%2C+dimensions%29+onto+your+product-page+controls+without+custom+code.\\u0026amp;theme=2d8b0f160f4bd456e90bb9d1\\u0026amp;signature=798c2ed9002aa83c73315d53caf80641635ceb5fa84927616baa806dac605e8d\\">\\u003cmeta data-mint-head property=\\"og:image:width\\" content=\\"1200\\">\\u003cmeta data-mint-head property=\\"og:image:height\\" content=\\"630\\">\\u003cmeta data-mint-head name=\\"twitter:card\\" content=\\"summary\_large\_image\\">\\u003cmeta data-mint-head name=\\"twitter:title\\" content=\\"Connectors - Filecheck\\">\\u003cmeta data-mint-head name=\\"twitter:description\\" content=\\"Sync file facts (page count, dimensions) onto your product-page controls without custom code.\\">\\u003cmeta data-mint-head name=\\"twitter:image\\" content=\\"https://filecheck.mintlify.site/docs/\_mintlify/api/og/v2?division=The+Element\\u0026amp;title=Connectors\\u0026amp;description=Sync+file+facts+%28page+count%2C+dimensions%29+onto+your+product-page+controls+without+custom+code.\\u0026amp;theme=2d8b0f160f4bd456e90bb9d1\\u0026amp;signature=798c2ed9002aa83c73315d53caf80641635ceb5fa84927616baa806dac605e8d\\">\\u003cmeta data-mint-head name=\\"twitter:image:width\\" content=\\"1200\\">\\u003cmeta data-mint-head name=\\"twitter:image:height\\" content=\\"630\\">\\u003cmeta data-mint-head name=\\"msapplication-config\\" content=\\"/docs/mintlify-assets/\_mintlify/favicons/filecheck/NelkTiDjeD6s\_0IH/\_generated/favicon/browserconfig.xml\\">\\u003cmeta data-mint-head name=\\"apple-mobile-web-app-title\\" content=\\"Filecheck\\">\\u003cmeta data-mint-head name=\\"msapplication-TileColor\\" content=\\"#1F5BFF\\">\\u003clink data-mint-head rel=\\"canonical\\" href=\\"https://filecheck.io/docs/element/connectors\\">\\u003clink data-mint-head rel=\\"alternate\\" type=\\"application/xml\\" href=\\"/docs/sitemap.xml\\">\\u003clink data-mint-head rel=\\"alternate\\" type=\\"text/markdown\\" href=\\"/docs/element/connectors.md\\">\\u003cscript data-mint-head type=\\"application/ld+json\\">{\\"@context\\":\\"https://schema.org\\",\\"@graph\\":\[{\\"@type\\":\\"Organization\\",\\"@id\\":\\"https://filecheck.io/#organization\\",\\"name\\":\\"Filecheck\\",\\"url\\":\\"https://filecheck.io\\",\\"logo\\":{\\"@type\\":\\"ImageObject\\",\\"url\\":\\"https://mintcdn.com/filecheck/rNybgOKFlLbMhWeh/logo/light.svg?fit=max\\u0026auto=format\\u0026n=rNybgOKFlLbMhWeh\\u0026q=85\\u0026s=7bc29281132ca05b5217412db9e93fb8\\"}},{\\"@type\\":\\"WebSite\\",\\"@id\\":\\"https://filecheck.io/docs#website\\",\\"name\\":\\"Filecheck\\",\\"url\\":\\"https://filecheck.io/docs\\",\\"publisher\\":{\\"@id\\":\\"https://filecheck.io/#organization\\"}},{\\"@type\\":\\"WebPage\\",\\"@id\\":\\"https://filecheck.io/docs/element/connectors#webpage\\",\\"url\\":\\"https://filecheck.io/docs/element/connectors\\",\\"name\\":\\"Connectors\\",\\"description\\":\\"Sync file facts (page count, dimensions) onto your product-page controls without custom code.\\",\\"dateModified\\":\\"2026-06-16T09:16:10.508Z\\",\\"isPartOf\\":{\\"@id\\":\\"https://filecheck.io/docs#website\\"},\\"breadcrumb\\":{\\"@id\\":\\"https://filecheck.io/docs/element/connectors#breadcrumb\\"}},{\\"@type\\":\\"BreadcrumbList\\",\\"@id\\":\\"https://filecheck.io/docs/element/connectors#breadcrumb\\",\\"itemListElement\\":\[{\\"@type\\":\\"ListItem\\",\\"position\\":1,\\"name\\":\\"The Element\\",\\"item\\":\\"https://filecheck.io/docs/element/overview\\"},{\\"@type\\":\\"ListItem\\",\\"position\\":2,\\"name\\":\\"Connectors\\",\\"item\\":\\"https://filecheck.io/docs/element/connectors\\"}\]},{\\"@type\\":\[\\"Article\\",\\"TechArticle\\"\],\\"@id\\":\\"https://filecheck.io/docs/element/connectors#article\\",\\"headline\\":\\"Connectors\\",\\"name\\":\\"Connectors\\",\\"description\\":\\"Sync file facts (page count, dimensions) onto your product-page controls without custom code.\\",\\"url\\":\\"https://filecheck.io/docs/element/connectors\\",\\"mainEntityOfPage\\":{\\"@id\\":\\"https://filecheck.io/docs/element/connectors#webpage\\"},\\"dateModified\\":\\"2026-06-16T09:16:10.508Z\\",\\"publisher\\":{\\"@id\\":\\"https://filecheck.io/#organization\\"},\\"isPartOf\\":{\\"@id\\":\\"https://filecheck.io/docs#website\\"}}\]}\\u003c/script>\\u003cscript data-mint-head type=\\"application/ld+json\\">{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebSite\\",\\"name\\":\\"Filecheck\\",\\"publisher\\":{\\"@type\\":\\"Organization\\",\\"name\\":\\"Filecheck\\"},\\"provider\\":{\\"@type\\":\\"Organization\\",\\"name\\":\\"Mintlify\\",\\"url\\":\\"https://mintlify.com\\"}}\\u003c/script>","agentPointerHref":"/docs/element/connectors.md","siteName":"Filecheck","nav":{"global":{"anchors":\[{"anchor":"Demos","icon":"play","href":"https://filecheck.io/demos"},{"anchor":"Support","icon":"envelope","href":"mailto:support@filecheck.io"}\]},"tabs":\[{"tab":"Documentation","pages":\[{"title":"Documentation","href":""}\]},{"tab":"Developers","groups":\[{"group":"The Element","pages":\[{"title":"The Element Overview","href":"/element/overview"},{"title":"Installation","href":"/element/installation"},{"title":"Create \\u0026 mount","href":"/element/create-and-mount"},{"title":"Events","href":"/element/events"},{"title":"Presentation \\u0026 Filecheck.mount","description":"Choose inline or dialog presentation, or use Filecheck.mount for zero-JS plugin integration.","href":"/element/presentation"},{"title":"Connectors","href":"/element/connectors"},{"title":"Product customizers","description":"Share a product page with a design tool, so shoppers can either upload a finished file or design one, and Add to cart works for both.","href":"/element/customizers"}\]},{"group":"Store plugins","pages":\[{"title":"WooCommerce","href":"/integrations/woocommerce"},{"title":"Shopify","href":"/integrations/shopify"},{"title":"OpenCart \\u0026 PrestaShop","href":"/integrations/opencart-prestashop"},{"title":"Odoo","href":"/integrations/odoo"}\]},{"group":"Custom integrations","pages":\[{"title":"Element on a custom stack","href":"/tutorials/api-integration"},{"title":"Headless API integration","href":"/integrations/headless"}\]},{"group":"Official libraries","pages":\[{"title":"Official libraries","sidebarTitle":"Overview","href":"/integrations/libraries"},{"title":"JavaScript","href":"/integrations/filecheck-js"},{"title":"React","href":"/integrations/react"},{"title":"Vue","href":"/integrations/vue"},{"title":"Node.js","href":"/integrations/node"},{"title":"PHP","href":"/integrations/php"}\]},{"group":"Server-side","pages":\[{"title":"Verify jobs","href":"/server/verify-jobs"},{"title":"Webhooks","href":"/server/webhooks"}\]},{"group":"Reference","pages":\[{"title":"Status payload","href":"/reference/status-payload"},{"title":"Facts","href":"/reference/facts"},{"title":"Errors \\u0026 common mistakes","href":"/reference/errors"}\]}\]},{"tab":"API reference","pages":\[{"title":"API reference","href":"/api-reference/introduction"}\]}\]},"basePath":"","title":"Connectors - Filecheck","deploymentId":"dpl\_HkhFaM7Z4J8aYo89NEttjgSHLi43","buildId":"dpl\_HkhFaM7Z4J8aYo89NEttjgSHLi43","dynamics":\[\],"chunks":\[\]}
