I have added the line
embedded_svc.settings.prechatBackgroundImgURL = "{!$Resource.prechatBackground}"
to the embedded deployment code.
If I check the browser console, I am able to see the error message:
Failed to load resource: the server responded with a status of 404 (Not Found) - %7B!$Resource.prechatBackground%7D:1
Has anyone experienced this before?
Thank you for your time,
Sooraj
1 resposta
Hi Sooraj,
The way you are referencing resource seems incorrect-:
https://help.salesforce.com/articleView?id=000336442&type=1&mode=1
https://developer.salesforce.com/docs/atlas.en-us.snapins_web_dev.meta/snapins_web_dev/snapins_web_snippet_settings_file.htm
Thanks,
Sakshi