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, orplaceholder, which shows a dash. - You are inside a repeater or table and the path starts at the wrong level.
Diagnose
- Open the Data tab and compare the path with the Binding paths list.
- Look at the preview under the expression editor: it shows the binding state (missing, null, present).
- 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.xto 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.