Appian Community and Appian Academy are being upgraded. From July 24–August 3, the Appian Community will be in read-only mode. During this time, the site will be read-only and user registration will be disabled. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!

The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.

Error when trying to update only some of the fields using Docx from Dynamic template

Certified Associate Developer

I have a template docx that has a total of 3 fields attached template docx, I am required to update only 2 of these fields: 1) doc.project.name 2) doc.project.address,  during the initial document creation. The updated template is then uploaded to SharePoint. Later, I will have to download this document from SharePoint and update the third field.

I pass in only the 2 fields into my expression rule to generate the xml. Xml generated via expression rule: <project> <name>Ary Rock</name> <address>/address> </project>

Error: 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: ..

2625.wordTemplateForDynamicGeneration.docx

Goal: I would like the updated template document to have the updated fields and also show the placeholder for the third field.

wordTemplateForDynamicGenerationUpdated.docx

Thanks in advance.

  Discussion posts and replies are publicly visible