Error While Generate Document

0
Hi all,  We are using generate document action in one of the microflows. In template we have nested data view for entities over association. So far I have got to know that its happening due to ‘&’ character being entered by user, But strange thing is its allowing same character(&) in parent entity attributes but when I use same in child entity its throwing below error. So is there any solution for same or We just have to restrict user from entering same? Thanks in Advance!   com.mendix.webui.WebUIException: Exception while executing runtime operation     at com.mendix.webui.actions.client.RuntimeOperationAction.$anonfun$apply$1(RuntimeOperationAction.scala:60) Caused by: com.mendix.modules.microflowengine.MicroflowException: Error processing XHTML     at moduleName.microflowName (DocumentExport : 'Generate PDF (.pdf) document using template 'AssessmentReport'') Advanced stacktrace:     at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:83) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: Error processing XHTML     at com.mendix.documentexporter.focomponents.DynamicLabel$1.run(DynamicLabel.java:149) Caused by: org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.     at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)     at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)     at java.xml/javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:122)     at com.mendix.documentexporter.focomponents.DynamicLabel$1.run(DynamicLabel.java:144)     at java.base/java.security.AccessController.doPrivileged(Native Method)     at com.mendix.documentexporter.focomponents.DynamicLabel.parseHtml(DynamicLabel.java:105)     at com.mendix.documentexporter.focomponents.DynamicLabel.generateFO(DynamicLabel.java:74)     at com.mendix.documentexporter.focomponents.DocumentTemplateRepresentator.render(DocumentTemplateRepresentator.java:320)     at com.mendix.documentexporter.focomponents.Table.generateFO(Table.java:65)     at com.mendix.documentexporter.focomponents.DocumentTemplateRepresentator.render(DocumentTemplateRepresentator.java:320)..    
asked
1 answers
0

Hi Vaibhav Thalkari,

Could it be the case that in the document template your Dynamic Label has the Render XHTML set to Yes?

Which would not allow a & sign?

 

answered