APEX Visual Force

View Document in Attachment Object using Visualforce and Apex Class

Apex Class : //insertAttachment public with sharing class insertAttachment {    public blob attachVal {get; set;}    public string attachName {get; set;}    public Id AttachId;        public insertAttachment() {        AttachId = ApexPages.CurrentPage().getParameters().get(‘Id’);    }        public PageReference insertNewFile() {        try {            delete [select…

Read More