How do we go about inserting a TIFF file into a Word document using ADT? Currently, we're able to insert a TIFF file with a single image into Word without any issues. However, when attempting to insert a TIFF file with two images, we encounter a problem - only one image is inserted successfully while the other is not. What could be causing this issue?"
Discussion posts and replies are publicly visible
Hi All,
This is the process we are following currently.
1.From Integration we are getting Zip file.2.Using Unzip smart service we are extracting zipfile which consists of TIFF file(contains images).3.Then using ADT we are inserting TIFF file into word.
but as mentioned above we facing issue with TIFF file consists of two images.we tried other alternatives but its not working properly.Any suggestions regarding this?
Do you see any error in logs?
Yes, getting error message:
freemarker.core.NonSequenceOrCollectionException: The value you try to list is an extended_hash+string (fr.opensagres.xdocreport.document.images.ByteArrayImageProvider wrapped into f.e.b.StringModel), thus you must specify two loop variables after the "as"; one for the key, and another for the value, like <#... as k, v>).
----FTL stack trace ("~" means nesting-related): - Failed at: #list logo as logo [in template "fr.opensagres.xdocreport.document.docx.DocxReport@3d1e7f14!word/document.xml" at line 4, column 111]----
Any suggestions regarding this?