Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body1 = EncodingUtil.base64Encode(termsandconditionsAttach.body);
- body1=termsandconditionsAttach.Body.toString();
- <a href="/servlet/servlet.FileDownload?file={!AttachmentId}">Download</a>
- String bodyContent = myAttachment.body.toString();
- public string bodyContent{get;set;}
- public string getBodyContent(){
- return myAttachment.body.toString();
- }
Add Comment
Please, Sign In to add comment