I am trying to do exactly the same; when i try..._doc.GetCopy(filepath, IManage.GetCopyOptions.nrHTMLFormat);(I have also tried as IManDocument with inHTMLFormat (i dont actually know the difference though))...i get...[NRTDocument ][ExportAsHTML ]Cannot load library "SCCDA.dll" when i try as native format, as suggested, but i get a html file of jumble...basically a dump of the byte array that makes up the doc...not HTML conversion.Any help greatly appreciated.
I got your devsupport request on this question, so I'm sharing my reply for others to make note of:The imGetCopyOptions.imHTMLFormat option only works proprietarily by our WorkSite Web Component. When this option is set, the dependencies it relies on to convert the file to HTML are internally implemented by the WSW application layer - thus it's outside the scope of the API's distributed with the SDK. Since no Desktop clients have the capability to convert to HTML, this call has always expected to work for imNativeFormat option only. The SDK is used for Desktop Client customization thus it does not support the capability that the WSW otherwise have to perform HTML Export.
So is there anyway at all to get the document as HTML? Even using the webservices??
WSW uses Stellent Outside In technology for the conversion to HTML. There are quite a few Stellent DLLs that get installed with WSW, one of them being SCCDA.dll. I am not sure if these DLLs are installed with the desktop clients. Check the /bin directory of your installation path. To view a document as HTML use WSW's ViewDoc.aspx page. A quick search on this forum will provide you with all the details. Note, though, that WSW is a separate product that requires its own license.