Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- General Development
- :
- Uploading images to Rich text area field using Dat...
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Uploading images to Rich text area field using Dataloader
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-09-2012 11:31 AM
Hi All,
Is it possible to upload images to a Rich text area field using Apex data loader ?
Regards,
Lakshmi.
Re: Uploading images to Rich text area field using Dataloader
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-09-2012 11:43 AM
Using the Data Loader, yes.
The way I know how to do it is via a web link, so the image must be hosted on the web. The format for the Rich Text field in the .csv file should be:
<img alt="User-added image" _fcksavedurl="insert image URL between quotes" src="insert image URL between quotes">
There may be another way, but this is the only way I know.
Got KUDOS?
Re: Uploading images to Rich text area field using Dataloader
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-18-2012 05:52 PM
If you need to embed the image directly, you shoudl be able to do so if you base64 encode the image data and put it in the src attribute.
The image below has been added to this post using that method (HTML source is below).
The above displays like this:
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgA
laceysnr.com - force.com development snippets and other useful things.

