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
Corey TenneyCorey Tenney 

Rich Text Thru API

I am trying to "download" images from Salesforce to a webserver via the API.  Let me give you some background.  We are moving an application front-end from SF to a .net page due to licensing.  We still want to use SF for the master product and ordering, just the website will show the images etc.  However the user will NOT have a login to SF.

So I can do everything except the images.  We have the images in a Rich Text Area and show fine if you are logged into SF, however if you are not logged in you cannot see them.  I followed instructions here:

https://salesforce.stackexchange.com/questions/15501/accessing-an-image-from-sites-stored-in-a-rich-text-area-field

But that doesnt seem to work either.  The URL below seems to be correct according to the article:

https://xxx.my.salesforce.com/servlet/rtaImage?eid=a1aC0000000Erla&feoid=00NC0000004ryWP&refid=0EMC00000000S0W

However I get page not found.  I had gone down the road of "streaming" the binary from SF and placing them on the webserver, but cannot get that to work either.  Suggestions??