Skip to main content

Hello, I have the folowing requirement. I want to display the preview image of the newest file in a custom field in records of a custom object. I have no idea how to achive this. Can you tell me a way how to do this properly?

 

Thank you in advance.

 

Sincerly Jonathan

4 answers
  1. Sep 29, 2022, 4:29 PM

    HAI

     

     Looks like rich text area field will be a smoother option, if you are looking for mass upload of images to records directly.  Below link might help you! https://help.salesforce.com/apex/HTViewSolution?id=000002745&language=en_US  if you are looking for the existing images which were in documents to be shown on object record, you can still rely on rich text option or as Nirmal suggested you can use formula field., to be more specific with the implementation, you might need two fields: 1) Text/url field which holds url of image from documents or static resources 2) A formula field which can display image in desired height and width by using the value from field 1.  Considering  a scenario, where real user might need to have a way to upload / alter those images, rich text area field will help more.

0/9000