Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. 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.

Using SVG file as a logo with DOCX From Dynamic Template smart service

Certified Senior Developer

As per the subject, I have tried to use a SVG file as the logo parameter to act as the input for "Image" field in DOCX From Dynamic Template smart service, but am facing an error when the node runs. The error is reflected as such:

freemarker.template.TemplateModelException: Method "public java.lang.String fr.opensagres.xdocreport.document.images.AbstractImageRegistry.getWidth(fr.opensagres.xdocreport.document.images.ImageProviderInfo,java.lang.String) throws java.io.IOException" threw an exception when invoked on fr.opensagres.xdocreport.document.docx.images.DocxImageRegistry object "fr.opensagres.xdocreport.document.docx.images.DocxImageRegistry@92d8c46". See cause exception.

The failing instruction:
==> ${___ImageRegistry.getWidth(___imageI... [in template "fr.opensagres.xdocreport.document.docx.DocxReport@59d76500!word/header2.xml" at line 4, column 1343]

JPG and PNG files work fine. Is this a technical limitation of using this smart service and are there any other options for generating documents based on a word document template?

  Discussion posts and replies are publicly visible