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
Mahmood ButtMahmood Butt 

Display Salesforce Survey on PostChat form URL

I have configured Salesforce Survey in the org. Survey itself is working fine for both internal and external users.
I have to display this survey to end-user when the chat is ended. I have used Post-Chat URL and used "external" survey link to be displayed.

Theoretically, all should work without any hassle, but I am receiving this weird error:
while(1); 
*/{"message":"Invalid request, no message"}/ERROR/
I am not sure what is going on and what wrong am I doing here?
NagendraNagendra (Salesforce Developers) 
Hi Butt,

Sorry for this issue you are facing.

May I suggest you please refer to below steps.
 
  • Add a new page on the community, name it "Satisfaction Survey" (you can name it as you wish)
  • Put the Survey component on the page, on modified community layout, without header and footer, so the end-user won't have a look-n-feel of a community.
  • Publish the community
  • Get the URL of the page you just added and put it in the post-chat form URL.
Hope this helps.

Kindly mark this as solved if it's resolved.

Thanks,
Nagendra