Skip to main content
July 31, 2025
Question

Docx from Dynamic Template configuration missing data

  • July 31, 2025
  • 3 replies
  • 0 views

Hello,

I'm trying to generate a dynamic table in docx. But unfortunately, I'm getting an empty table. Attached below are the screenshots and the XML data that i'm passing.

XML Text - 

"<find><irish control='Control1' observation='Observ' risk='Risk' /><irish control='Control2' observation='Observ2' risk='Risk2' /><irish control='test control' observation='test observation' risk='test risk data 4365475' /></find>"

Template - 



Result - 

Could you please let me know what am i doing wrong here?

3 replies

harshas2775
July 31, 2025

In the xml file you have '@' before control, observation and risk fields. Can you try changing it like d.control, d.risk, d.observation within the {}. Don't think you need the @ there.

gvr0001Author
August 1, 2025

Thank you for your response, will try this!

shubhama926776
July 31, 2025

Try this

«@before-row[#list doc.find.irish as d]»
| «$(d.@control)» | «$(d.@observation)» | «$(d.@risk)» |
«@after-row[/#list]»