I know we can search for within a Word content file in Salesforce using SOSL. But reading the VersionData
field of ContentVersion
returns a Blob
which is not UTF-8
format content, so we could not convert it into a text string within APEX.
I'm looking for any way to achieve the objective of reading a Content file (MS Word) document into a test stream.
Is this is not possible natively within platform, does anyone knows of any REST API services that offer this function?
Blob is not a valid utf-8 string
when we try to read it in Apex (for Doc/Docx files)