Docx file preview is not working in gmail, generated with html-embedded-in-docx recipe



  • Hello @jan_blaha @bjrmatos

    I am using html-embedded-in-docx recipe to generate the docx report. When I am sending that through gmail, the preview in gmail is blank. Do we have any option so that we can display the preview in gmail. I have tested a file which is made manually in ms word and it's preview working fine in gmail.

    Blank Preview of docx file generated with html-embedded-in-docx recipe
    0_1698324498805_upload-c5d30a31-7d5d-480e-b02e-3c0e409d0fab

    Preview of docx file created manually in word.
    0_1698324549527_upload-24ba3060-37ae-4f90-ab58-2192cf3f99a5

    Thanks!



  • I am afraid this is a limitation of html embedded in docx

    https://jsreport.net/learn/html-embedded-in-docx

    The word support for inlined html is limited. If you want to create native docx reports running in all office implementations, you should check the docx recipe.



  • Hello @jan_blaha

    I have used original docx recipe and when I download it from local and send it in gmail the preview is working fine but when we test it on server then it is not working. Do you have any idea regarding this?

    Thanks!


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.