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
BpositiveBpositive 

How do I insert an Image in my data fields in my App?

There is a datatype called "Text Area (Rich)" which says it accepts images. But I have no clue how to insert one.

 

Best Answer chosen by Admin (Salesforce Developers) 
SamReadySamReady

Hi,

 

If you make a certain field of type Rich Text, when you add an inputField to your Visualforce page, it will appear as a special input text box which enables you to add pictures/links/colored fonts/etc. You can use a simple DML insert/update/etc on the record containing that field and it should insert the image.

 

If this does not answer your question, can you please elaborate where you are having trouble? Thanks!