Loading

Error ‘$Label.EmbeddedMessagingPrechatCholceList. does not exist’ in prechat dropdown value.

Udgivelsesdato: Aug 11, 2025
Beskrivelse

When setting up Embedded Service Deployment and configuring pre-chat form dropdown fields, you may encounter the below error in dropdown values for default language.

$Label.EmbeddedMessagingPrechatCholceList. does not exist

This occurs when custom labels for dropdown values are not defined in the default language, but are defined only in other language translations.

Steps to Reproduce the Issue

  1. Start with an existing embedded service deployment (ESD) that includes a prechat form featuring a dropdown field.

  2. Add a new dropdown API value to the existing prechat dropdown field. For example, add the value ‘Fox’. 

  3. Define translated custom labels for this new dropdown value in languages other than the default. In this example, add a German translation for the ‘Fox’ dropdown API value.

  4. Publish the ESD to apply the translated custom labels to the prechat dropdown values.

  5. Test the ESD by selecting “Test messaging.” An error message appears:
    “$Label.EmbeddedMessagingPrechatChoiceList does not exist” for the newly added dropdown API value for default language.
     

Løsning

To fix this, ensure that custom labels for pre-chat dropdown values are defined in the default language. For instance, if the default language is English, make sure the custom labels are defined in English as well.

Note: If the dropdown value is the same as the custom label, the custom label may appear blank after saving. This is expected behaviour.
 

Yderligere ressourcer

Customize Pre-Chat for Messaging for In-App and Web :  https://help.salesforce.com/s/articleView?id=sf.miaw_custom_prechat_2.htm&type=5

Vidensartikelnummer

005036840

 
Indlæser
Salesforce Help | Article