I have a button in the Contact page (opportunity list), that when clicked creates a new opportunity with many fields pre-populated. I have been able to pass all sort of fields such as Account, stage, close date, amount and opportunity name.
However, I have not been able to pass contact data to link with the opportunity via Contact Roles.
I would like to have the original contact appear as primary contact, with a given role.
In my code (below) everything works, except what's in red.
I certainly hope you can help...
I have a Contact in my Salesforce org. and have an Attachment (a PDF file) associated to that Contact.
Is it possible to download this PDF file from a Site Page?
I am able to query and Display the name of the file on my Site page, but want to know if there's a way to download the file.