Skip to main content
July 24, 2024
Question

How to call word file(docx) into an image component?

  • July 24, 2024
  • 5 replies
  • 0 views

How to call word file(docx) into an image component?

I tried to call it but for some reason it's not displaying it properly, Please help!!

    5 replies

    stefanhelzle0001
    Brainy
    July 24, 2024

    Image fields do not support Word documents. What do you try to achieve?

    mikes0011
    Brainy
    July 24, 2024

    Stefan's answer is correct.  An image component has no way of displaying a Word document.

    mathieud0001
    Brainy
    July 24, 2024

    The only way you can display a docx file inline would be to store it in Sharepoint and use the webContentField with the sharepoint URL.

    mikes0011
    Brainy
    July 26, 2024

    It can also be done via the (paid) PDFTron plug-in (though it's been renamed to something else now that I can't remember off the top of my head).

    mikes0011
    Brainy
    July 26, 2024

    Hey Dak - Not sure what Stefan or I said to warrant downvotes - what we said is correct.