[HTML To MS Word Converter] 'Javascript is Required' message at the end of the document
Reactive icon
Forge component by Benjith Sam
Application Type

The component is working fine, but whenever I export the file through the  'ConvertHTMLToDoc' action, I get a 'Javascript is Required' message at the end of the document. 

I could also replicate this behaviour using the Demo app provided by the component.

Anybody knows a way around this? It feels like something might be wrong in the component's script. I'm using Chrome but could also replicate this in other browsers.



Hi Manuel,

Thank you for reporting this issue, I have deployed a revised version with a slight change in the ConvertHTMLToDoc client action.

  •  Introduced an input parameter called SectionId to the ConvertHTMLToDoc Client action to focus more on a section (referring to the sectionId) instead of converting the entire body

Updated JS Snippet:

var htmlSection = document.querySelector('#' + $parameters.SectionId);

if (htmlSection) {
} else {
    console.error('undefined html container');

Check the demo screen: HTMLToWordDoc Component Demo

Hope this helps you!

Kind regards,

Benjith Sam

Thanks a lot Benjith, this solved the issue.


You're most welcome, Manuel

I'm glad it helped you :)

Kind regards,

Benjith Sam

Hi Benjith Sam,

Im not able to use this forge component it was throwing the error of word.export() is not a function can you please help me on this.


Akash Gunupudi.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.