function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
KaziKazi 

How to read a .doc/.docx file ......................

Hi everyone,

 

I am new to visualforce development environment. I have created a custom object which is use to upload any file. The uploaded  file is store in "My Personal Documents" folder. Now I want to know :

 

Is there any way to read a .doc/.docx file from "My Personal Documents"  Folder and store the content of that file in a local variable ?.

 

Plz help me.....................

MohitMMohitM

Once  the file is loaded into  the personal document you can than call it in visual force.You cannot put this file into the variable.

 

Mohit Mohan

Salesforce Developer Support

BinuBinu

Can you pls suggest a sample code to read the content of a document. It could be an .xml file or .txt file