Skip to main content
Demo Directsync 님이 #Apex에 질문했습니다
HI,

    I have a requirement to read the attached MS-word document lik mysample.doc file using apex class, will it be possible if yes please help me or provide me the code for that to get the conted of word documet.

thanks,

zabi
답변 1개
  1. 2015년 12월 12일 오후 3:00
    You're in for a world of hurt.  When importing files into Apex, you're restricted by things like Visualforce view state size, Regex too complicated errors, and Apex CPU limits.  I've attempted to implement similar requirements for csvs or excel files.  Your requirement is likely more complicated because the structure of word documents is very complicated.

    I would either push back on the requirement, or invest some time in looking at either an existing App Exchange project or a third party service that you could utilize outside of Salesforce.