• suraj sood 8
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
Hi All,

I am displaying rich text area field in VF page. Using output field. It is showing

User-added image

But for administrator its is displayng the image. If i login as manager profile it is showing above error. And if the record is shared with that manager image displaying correctly.

And in controller i am using without sharing only. In the field level i gave the access correctly.

And most important thing all the other fields such as text, number are displaying correctly except richtextarea field.

Using inspect element i got the url of the image [https://c.cs18.content.force.com/servlet/rtaImage?eid=xxxxxxxxxxxxx&feoid=xxxxxxxxxxxxxxxxxxx&refid=xxxxxxxxxxxxxxxx (https://c.cs18.content.force.com/servlet/rtaImage?eid=xxxxxxxxxxxxx&feoid=xxxxxxxxxxxxxxxxxxx&refid=xxxxxxxxxxxxxxxx)] if I click the link with admin login its showing the image. if manager login means its showing above error.

I have two question:

1. Where the image in richtextarea is stored ?

2. Is it stored with all other fields or seperatly?


Anyone can help me pls.. Thanks.

Praveen Murugesan.
Hi All,

I am strugling with this error from last 2 days. Anyone can help me pls.

Actually in my VF page i am displaying all the fields in object which includes richtextarea field. In controller i am using public without sharing. In page its displaying all the fields correctly. But its not displaying image in richtextarea field its showing image not available error. For Admin profile all the image is displaying correctly but for manager profile image is displaying only for employees who is reporting to him. Becasue those recrord only shared with him. And image is not displaying for other team members those not shared.

And the issue is not stable. Some time its loading some times not even for displaying for admin. And its differs with each brower. From the morning the image is displayed in Mozilla, IE, Safari but now it is not displaying.

Following links helped me bit but i couldn't found the solution,

https://developer.salesforce.com/forums/ForumsMain?id=906F00000009wneIAA
http://stackoverflow.com/questions/19043834/issues-with-displaying-salesforce-rich-text-editor-image
http://salesforce.stackexchange.com/questions/15501/accessing-an-image-from-sites-stored-in-a-rich-text-area-field

Anyone met this issue before?? 

Thanks in advance.

--
Praveen Murugesan