You need to sign in to do that
Don't have an account?

Doc File Attachment
Hello EveryOne,
I have Doc File in Notes & Attachments.
I want to Fetch Body of doc file as a String in Apex Class.
as a body of Attachment return in Blob so how to get it as String ??
I have Doc File in Notes & Attachments.
I want to Fetch Body of doc file as a String in Apex Class.
as a body of Attachment return in Blob so how to get it as String ??
Just below code should do the trick. Thanks
Ramesh
Use below get body of Notes & Attachments in blob: I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi