IF you’re anything like me, data placeholders make you screen. Fortunately, I think I found an easier way to remove bad placeholders.
To give some background, I had a problem today where I updated a data merge document with new placeholders and removing old placeholders – or so I thought. After changing out the new fields, I came across the much dreaded “There is a least one data placeholder that cannot be found in the data source” error message. After going through my document multiple times by hand, I couldn’t find old/bad placeholder. While using story editor to find placeholders, I noticed that Data Merge placeholders were treated as hyperlinks in the story editor.
This got me on the idea of checking the hyperlinks panel. Which I discovered lists all web hyperlinks in addition to all data merge placeholders. Most importantly this panel lists all Legal and Illegal data merge placeholders, meaning that you can find the rogue field and simply delete the hyperlink.
The illegal placeholder ended up being on a hidden object on the pasteboard (shame on me).
The document wasn’t too long but had just over a hundred placeholders in tables, in images, and in hidden elements. This made going through all of the text frames, tables, and so on extremely difficult. And while this “fix” isn’t perfect, it was a lot easier than going through tons of pages looking for one string of bad text.
Tl;DR: If you can’t find the rogue/old/bad placeholder, check the hyperlinks panel since it lists all links in the document, not just placeholders.