LoadFromStream does not accept an html document
Posted: Fri Oct 01, 2021 11:34 am
I am trying to load an html file into Docuvieware to display.
The stream comes from a blob storage account and works correctly for doc files, however when trying to load an html stream, even if the contents of the stream are as simple as:
Then the call
returns the status "UnsupportedFormat"
Is this functionality supported? If I pass in the DocumentName parameter with a ".html" suffix the document is still unsupported. Am I missing something?
Thanks
Chris
The stream comes from a blob storage account and works correctly for doc files, however when trying to load an html stream, even if the contents of the stream are as simple as:
Code: Select all
<html><h1>Hey</h1></html>
Code: Select all
var status = docuVieware.LoadFromStream(doc.stream, OwnStream: false);
Is this functionality supported? If I pass in the DocumentName parameter with a ".html" suffix the document is still unsupported. Am I missing something?
Thanks
Chris