Corrupt Word Document
Hi,
I have a req to Generate Word document. I'm was able to generate and attach to work using Property-Set-HTML. and other property-set and map to Link-Attachment class.
The error while opening the Word Document. There is Error in the Content.
I'm using OOTB HTML-Rule (ActionFailed).
Any thought on what/why the Word File is corrupt?
Thanks!
AK
Hello AK,
Have you confirmed that the stream you are generating and giving the docx extension is valid for Word? If it isn't, then it will continue to be invalid after you save it as an attachment. If it is, when you open it as an attachment, what is different? Has your stream been encoded or otherwise manipulated in an unexpected way?
Thanks,
Mike