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
SastryMSastryM 

Pre Populate Logged in user information in Embedded chat when used in Channel Menu

Hi All,

We have created a Embedded Service Deployment and created a channel menu in which we have added the Chat and Email. Channel Menu is added to the community (drag channel menu component in the template footer). When we click on Channel Menu button and click on chat the logged in user is not populated by default where as if we use only Embedded service chat in the community the logged in user information is populating. Is there any way that we can implement a logic such that the Logged in user information is auto populated when the chat is initiated from Channel Menu. We have tried using static resouces files and added in code settings in channel menu and it is not working.

Request for any help on this. Thanks in advance.
AbhishekAbhishek (Salesforce Developers) 
I haven't tried this scenario but the below developer discussion might guide you,

https://salesforce.stackexchange.com/questions/273603/embedded-service-chat-component-in-community-using-snippet-settings-file-jav

https://salesforce.stackexchange.com/questions/280265/pre-chat-form-fields-to-automatically-populate-in-embedded-service-deployment

If it helps you and close your query by marking it as solved so that it can help others in the future

Thanks.