Skip to main content
March 28, 2024
Question

I am Using the HTML DOC from Template Smart Service and having issues generating the Doc

  • March 28, 2024
  • 5 replies
  • 0 views

We are trying to convert a docx file to html, I my initial thought after failing to use the DOCX to HTML plugin was to try and use the HTML Doc from template smart service. We would upload the docx file and save it, use the smart service by reading the docx file using an expression, then finally using the smart service to save it as an html file. We ended up getting something odd instead in the file. Any help will be appreciated. 

5 replies

stefanhelzle0001
March 28, 2024

Can you give us a bit of a background? What is the purpose of this?

What do you mean with "use the smart service by reading the docx file using an expression"?

March 28, 2024

I wanted to convert my file from docx to html so that I can easily parse it. The expression I was trying to use was readtextfromfile() to pass the docx text to use for the HTML DOC from Template smart service. 

stefanhelzle0001
March 28, 2024

readtextfromfile() does not understand your DOCX document format.

Can you provide a full rundown on what you are trying to do and why? Then we might be able to support you with options.