I am trying to use the Docx From Dynamic Template smart service (PFA document sample) with a single test field on the document I am getting the error as mentioned below:
Testing.docx
freemarker.core.NonStringException: For "${...}" content: Expected a string or something automatically convertible to string (number, date or boolean), but this evaluated to a sequence+hash (wrapper: f.e.dom.NodeListModel):==> doc.project.StatusName [in template "fr.opensagres.xdocreport.document.docx.DocxReport@4cb802c!word/document.xml" at line 4, column 5921]The failing instruction:==> ${doc.project.StatusName} auto-escaped [in template "fr.opensagres.xdocreport.document.docx.DocxReport@4cb802c!word/document.xml" at line 4, column 5919]
Can anyone help me with the same, please?
Thanks in advance.
Discussion posts and replies are publicly visible