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
abhishektandon2abhishektandon2 

Rich Text field is not working in SFDC sites

Hi I have created a custom object "Referral__c" and within this object there is a custom field  "Physician_s_Signature__c" of Type Rich text

 

I have created a VF page to take input from user and user suppose to upload a image in this rich text box, when I upload this image in text from SFDC itself it works fine.

 

But when I used this page within a SFDC site and try to upload a image in that rich text box, it gives me authentication error, please see the details below

 

Ant help would be highly appreciate

 

this is how  i used this field in VF page

<apex:inputfield value="{!Referral__c.Physician_s_Signature__c}"/> 

 

 

Error message

Timestamp: 26/05/12 10:13:11 PM

Error: CSRF protect string not added to servlet response.

Source File: http://ebsc-developer-edition.ap1.force.com/apexpages/ckeditor/_source/plugins/sfdcImage/dialogs/sfdcImage.js?t=B49E5BQ

Line: 172

Timestamp: 26/05/12 10:13:11 PMError: CSRF protect string not added to servlet response.Source File: http://ebsc-developer-edition.ap1.force.com/apexpages/ckeditor/_source/plugins/sfdcImage/dialogs/sfdcImage.js?t=B49E5BQLine: 172
Navatar_DbSupNavatar_DbSup

Hi,

 

It is always recommended when we are using apex pages on our sites,we should use <apex:inputText> either <apex:inputfield>

 

so use <apex:inputText> instead of <apex:inputfield>

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved. 

 

 

lakshman.mattilakshman.matti
HI abhishektandon2,

Did u get any solution for this issue. i'm also facing the same issue. please update at earliest. i need it very urgent.

Thanks
Lakshman