'Can't find element' message when using square brackets

If you're adding square brackets [] around your ID attribute to help with spacing, you may encounter this error message when you're running the 'Generate PDF Creator' action:

Sorry, we couldn't find this element: "[target-element]"

This typically occurs if you're also using the Classify plugin. The Classify plugin unfortunately causes an issue with how ID attributes are interpreted by PDF Creator, which means you can’t use the [] around an ID attribute.

Solution

If you add a * before and after the ID attribute of the repeating group you are PDF-ing and you will get the same affect as the 's. For example, if your repeating group has the ID attribute:

my-repeating-group

You can add a * before and after to get:

*my-repeating-group*

There is no conflict with the Classify plugin when you use this command.

Last updated