Skip to main content
A function is a configurable Dsync workflow. Its setup record gives the workflow a name, category, display order, and one or more nested forms. Forms can collect values, resolve local reference data, handle scans, and post records to the configured destination. This reference lists only the keys consumed by the current function setup path. Local database fields and runtime state are not part of the setup contract.

Setup record

The function sync consumes these setup columns: Enter the JSON object as JSON text in Function JSON. Do not wrap it in a second JSON string and do not add comments or trailing commas.
Put the category in the lowercase category property inside Function JSON. A separate Category setup column is not used by the function sync path.

Function JSON

The top-level object has these keys: Do not add a top-level function key to identify the workflow. The displayed name comes from the setup column Function Name.

Minimal example

The components array contains one object per field or action. Use the component type reference to choose a renderer and the component field reference to configure it.

Nested forms

A form can contain another form in its form key. The child object uses the same form keys as the root, so nested forms can contain their own components, destination, UI options, formulas, and further child forms. Use headerPostID and the form’s postTo value when a child record must be linked to a parent record. Test the parent and child submission together because the exact destination and relation columns belong to your account configuration.

Before publishing

  • Check that Function Name and Function JSON are present in the setup record.
  • Validate the complete Function JSON object, including every nested form and components value.
  • Keep category and form at the top level. A malformed row is skipped during function synchronization.
  • Give every component that should submit a value a valid postTargetCol.
  • Confirm that referenced tables and columns are downloaded to Dsync before using a lookup or scan.
  • Remove credentials, private endpoints, and tenant-specific secrets from the JSON.

Troubleshooting

Last modified on September 7, 2026