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
GarrettzGarrettz 

Can the prepopulatedPrechatFields in snapin be used for a variable in the lightning component?

I have a live agent chat snapin embedded on our custom application (not a community). I'm trying to pass information to the pre-chat lightning component to prompt the user "Hello {{firstName}}" - prior to initiating chat. I'm aware of the embedded_svc.settings.prepopulatedPrechatFields snippet (however I'm not getting it to work), so I'm wondering if the values passed through are available to my lightning component to use as a variable.

The other usecase I have for this is dynamically rendering the picklist value presented to the user for issue selection.