Formatting for MS 2007 Word Doc from Template no longer working under Appian Version 26.3

Certified Senior Developer

The organization I'm working with recently had their Appian environments upgraded to 26.3 and it appears that the documented method for passing formatted text to the MS Word template using the MS 2007 Word Doc from Template smart service no longer works. Before the upgrade, when passing text to the template via the smart service, all newlines (char(10)) were replaced with the Word ML tag <w:br />, which would allow the formatting in the replacement text to be preserved. However since the upgrade, the formatting is lost and the <w:br /> tag is visible in the generated document. Using other formatting characters like <br/> or char(10), char(13) doesn't seem to fix this, how to we proceed from here?

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Shubham Aware

    Do you happen to know - is it that all XML is now being sanitized, where it used to *not* be sanitized?  Or something more specific to the tags like <w:br/> etc?  I know that in the past to use the XML characters, you had to feed it into the plaintext along with a special tag to break out of the current plaintext (otherwise it would break Word), but if now all characters/XML are being sanitized, that'll be completely broken in general.

Children
No Data