function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Felipe FernandesFelipe Fernandes 

Attachments

Hi!

 

I've attached a file in a opportunity and i have to display the name of this file on a visual force page.

I have informations about the opportunity in this page and i just want to display the name file.

Can someone help me with this?

Thanks!

Virendra NarukaVirendra Naruka

Hi

 

You can query on Attachments. Like  fetch all the attachments which contains parentID= OpportunityId. it will you give you list of all attachments associated with this Opportunity. You can use that list to display the information of attachments on to your VF Page

 

 

Felipe FernandesFelipe Fernandes

Virendra,

 

How can I do that? I`m new on Sales Force =/

 

Thanks!