You need to sign in to do that
Don't have an account?
Where to view attached image via visualforce page
Hi,
I have written a visualforce page and class for uploading attachement in Details__ c object.
Records are saving correctly in Details__c, but I wonder where the attechment goes.. Is there a specific path to view those attachements?
Help plz.
Thanks,
If you have attached document correctly then simply you can go to object detail page and in related list those should be visible..Please check and let me know if you are able to see..
may b you are not able to scussefully attach them to Details object so ..It would be good if you can paste your code here so I can help you out..
Thanks,
Sandeep
All the attachements are saved under the attachment object with a parent id to 'Details__c'.
To view an attachment, use the following in VF : {!URLFOR($Action.Attachment.View, <attachmentID>)}
Guess I am going wrong somewhere, I dont see attachemnt in the detail page.. help plz .
My Class
VF
Thanks,
Hi Vigneshwaran,
Please change the code on line 22 of your controller
Save method code should be
Please mark this as solution if this solves your problem, So that if anyone has this issue this can help.