You need to sign in to do that
Don't have an account?
Etienne Genelot
Create a link for my attachment in Account
Hi all,
I m stuck to create a link for my attachment in Account
<apex:outputlink value="/servlet/servlet.FileDownload?file={!Attachment.id}" target="_blank">View</apex:outputlink>
Could you please help me ?
Thanks
I m stuck to create a link for my attachment in Account
<apex:outputlink value="/servlet/servlet.FileDownload?file={!Attachment.id}" target="_blank">View</apex:outputlink>
Could you please help me ?
Thanks
Please pass your ORG Full URL and see..
<apex:outputlink value="https://<yourDomain>.content.force.com/servlet/servlet.FileDownload?file={!Attachment.id}" target="_blank">View</apex:outputlink>
And make sure the the {!Attachemnt.Id} has value means the Id exist or not from the APEX.
Let me know if this helps for you.
I think Attachement.Id do'nt exist because I have 1 problem : Unknown property 'AccountStandardController.Attachment'
I need to create an Apex triger ?
If you dnt have Attachemnt Id then dnt render the link
If you dnt have Attachemnt Id then dnt render the link
This is my code :
and I have an attachment :https://i.imgur.com/aRPi800.png
Thank you