You need to sign in to do that
Don't have an account?
Chandra Shekhar
I have 2 word document attachment in account detail page. I want to display content of word files in text box in visualforce page
Word file once uploader changes into BLOB in saleforce database. I am not able to retrive data from word files once uploaded via attachment.
Is there any way to read word file as attachement?
Is there any way to read word file as attachement?
It is not directly possible. You will have to use a Salesforce CRM Content(https://help.salesforce.com/articleView?id=content_about.htm&language=en_US&type=0) to that:
Previewing:
In Salesforce CRM Content you do not need to download a large document to determine if its content is relevant to you. The content details page provides document details at a glance, including document title, author, description, tags, libraries, comments, votes, versions, subscribers, and downloads. If the document is a Microsoft PowerPoint, Word, Excel, or Adobe® PDF file, you can preview the entire file in your browser without downloading it. Some aspects of files may not be displayed in previews. Copy-protected PDFs can't be previewed.
There are some tricky solutions but generally it is not supported by Visualforce:
- Document preview with Visualforce (http://salesforce.stackexchange.com/questions/4715/document-preview-with-visualforce)
- Content Previewer in Visualforce(https://developer.salesforce.com/forums/?id=906F000000099NrIAI)
Hope this helps.Best Regards,
Nagendra.