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.
Thanks.
Hi Manuel,
Thank you for reporting this issue, I have deployed a revised version with a slight change in the ConvertHTMLToDoc client action.
Updated JS Snippet:
var htmlSection = document.querySelector('#' + $parameters.SectionId); if (htmlSection) { $(htmlSection).wordExport(); } 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 :)
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.
Thanks,
Akash Gunupudi.