You need to sign in to do that
Don't have an account?
Hemant Gulati 4
How to access Image saved in Rich text box field through REST API
Hello All,
I need your help on the foloowing issue:-
I have attach a image file in RICH TEXT BOX field in one of the objects. Now i am trying to aceess that image through REST API from outside salesforce. i want to show that image on my Public site (which is outside salesfoce).
Please share the code to access the image (stored in rich text box field of an object) through REST API.
Eagerly awaing for the answers.
Thanks in advance..
I need your help on the foloowing issue:-
I have attach a image file in RICH TEXT BOX field in one of the objects. Now i am trying to aceess that image through REST API from outside salesforce. i want to show that image on my Public site (which is outside salesfoce).
Please share the code to access the image (stored in rich text box field of an object) through REST API.
Eagerly awaing for the answers.
Thanks in advance..
http://salesforce.stackexchange.com/questions/15501/accessing-an-image-from-sites-stored-in-a-rich-text-area-field
All Answers
I used the below mentioned code to extract the src of image from rich text area field. Can you please try with it?
Simply pass the rich text field value as parameter to the function. It will return the URL of the image. Then in page you can use img tag to display the image:
Thanks for reply.
I am not accessing RICH TEXT AREA image on VF page or on sorce.com site.
I want to access it outside salesforce (eg from WCF servioces, or using Ajax).
So please let me know how can i accomplish this.
Thanks,
http://salesforce.stackexchange.com/questions/15501/accessing-an-image-from-sites-stored-in-a-rich-text-area-field