Failed to parse ${Comments | appearance: “multiline”}

02-21-2022 01:10 PM
Occasional Contributor

Hello everyone.  I am trying to create my first custom template for a survey I have uploaded from Connect to our Organization.  I am getting the following error, despite my attempts at correcting where I thought the error might be but I'm not having any luck so far.  I'm hoping those of you with more experience in custom templates, are able to help me out.

Error: An error occurred when checking the report template. Failed to parse ${Comments | appearance: “multiline”} since Comments cannot be found in the current parsing scope.

I have included a screenshot of both my XLS form where I've created the form, and also my template in Word.

Thank you in advance for any advice you may be able to offer.  

0 Kudos
2 Replies
MVP Regular Contributor


I don't see any field called ${Comments} in your XLS form. You have:

  • ${imagecomments}
  • ${misccomments}
  • ${site_conditions_comments}
  • ${projectdetailcomments}


You'll need to call the appropriate field for the section of the template that you want it to populate in.


“The goal is not simply to ‘work hard, play hard.’ The goal is to make our work and our play indistinguishable.”
- Simon Sinek
0 Kudos
MVP Regular Contributor

I had similar issues. ${Comments | appearance: “multiline”} should be on its own line or it can cause parsing errors:


${Comments | appearance: “multiline”}


Not this
Comments: ${Comments | appearance: “multiline”}

Edit. Formatting went wild. Hopefully it is fixed now!

0 Kudos