Data shows a dash or nothing

Missing data and placeholders. Troubleshooting in the DocStudio designer user guide.

Symptom

A bound text shows a dash, or nothing at all.

Likely causes

  • The path does not exist in the sample data (a typo, or the sample is empty).
  • The value is null.
  • The policy is blank, which shows nothing, or placeholder, which shows a dash.
  • You are inside a repeater or table and the path starts at the wrong level.

Diagnose

  1. Open the Data tab and compare the path with the Binding paths list.
  2. Look at the preview under the expression editor: it shows the binding state (missing, null, present).
  3. Check the missingData policy in the Page group.

Solution

  • Fix the path, or add the value to the sample data.
  • Add a fallback to the path.
  • Inside a repeater use $root.x to reach data outside the list item.

Limitation

A missing value is never an error under blank and placeholder. Use warn or error to be told.