Skip to main content
Groupe

MIAW [or Messaging in App and Web]

Group for best practice sharing and help with MIAW - from setup, deploy, features and functionality as well as data/reporting.

I have a requirement in Salesforce Experience Cloud where the MIAW chat button should only be visible to users belonging to a specific profile. Users with other profiles should not see the chat button on the community pages. I need guidance on the best approach to implement profile-based visibility for the MIAW chat button in the community.

1 réponse
6 réponses

What can cause this error or what does it mean?   

Even though the messaging session did in fact get routed to an support rep, I'm not sure why this error is occurring.  The only other thing I have observed is that the screen pop did not work, which I'm assuming is because this error occurred first so essentially the flow stopped.

3 réponses
  1. 30 oct. 2025, 18:51
    The other queue might have some difference. Do note that once. Happy to know that issue is resolved

We are moving from Legacy Chat to MIAW for 7 sites.  I set this up up and tested successfully in our sandbox.  I migrated everything to production and when I go to the embedded  service deployments and select Test Enhanced Web Chat the page opens, and the instructions appear, however the chat bubble does not appear.   

Thoughts on something I missed when promoting changes to production?  OR?

2 réponses
  1. 29 oct. 2025, 23:24

    Thanks! 

      I ended up manually updating the visualforce pages that were automatically created.  They were referencing the sandbox.  I had first tried to republish the embedded service deployments but that didn't seem to work.  In the future I would probably just re-build the embedded service deployments in prod instead of moving them from a sandbox.

So...I have two different groups of users who will be using Enhanced Chat – one currently using Legacy Chat and in the process of being transitioned to Enhanced Chat. I have just discovered that Record Type is not a standard field in Messaging Session. The recommendation is to create a custom picklist field to handle this, even though set up allows one to create a record type and page layout for this. My two business units need different page layouts. I'm astonished at this oversight, especially given the soon upcoming retirement of Legacy Chat. Does anyone else have a similar need? How are you surfacing different record types in different business unit Apps?

1 commentaire
  1. 28 sept. 2025, 15:45

    Hi @Christopher Littlefield

    . You need to create a Record Type for the RecordTypeId field to appear. 

    Salesforce Help - Frequently Occurring Fields - RecordTypeId

     

    The RecordTypeId field is in your organization’s WSDL only if at least one record type is configured for your organization in the Salesforce user interface. 

     

    I do not know why Salesforce recommendation is to use a custom field. In a developer org, I created two page layouts and two record types for the Messaging Session object. I was able to change the record type  for a record and show a different layout on the detail page. 

     

We are migrating from legacy Chat to Enhanced Messaging.  Per documentation: "Paste the code before the closing body tag (</body>) on each web page where you want the messaging button to appear. Don’t place the code in your header."

 

The webmaster is requesting an option that doesn't require it to be placed in the body of the HTML, citing company compliance.  Specifically asking:  For ALL scripts loading any cookies, such as setting or collecting cookies like the Salesforce chat, we need to control those at a high level, before the page loads.  We need to have the ability to turn off the chat if someone opts out of all cookie collection.   

 

What are the options (if there are any) regarding placing the code outside the body of the HTML? 

 

3 réponses

I have created a custom LWC component as I would like to include a controlling picklist field(X) and 2 dependent picklist fields(Y and Z) from the case object in the custom pre chat form in MIAW prechat form. I would like to display only a select few values from Controlling field X for the customers to chose from the pre chat form in experience community and based on the value selected in X , Y and Z should be picked. 

ie., Z depends on Y value. Y depends on X.  

With the help of an apex class and LWC I am able to surface these fields in the form. The X and Y fields are working as expected, however Z field does not pull through all values as expected. Need help in pulling all the values respecting the field dependency.  

Has anybody been successful in getting the dependent picklist fields in the pre chat form?

1 réponse
  1. 7 août 2025, 06:05

    Hi 

    I have not done similar functionality but will try and update you if similar scenario works for me.

I am now trying to migrate my organization to MIAW from legacy chat. 

Due to business requirement, I need to enable user verification . 

 

And I found the option "Messaging Setting" when I create a new channel .  

MIAW user verification enable and disable

 

 

However, after I create the channel, I cannot find that option again. 

 

My question is , how to disable or enable user verification later ? 

It there any way for me to update the Token expiration time ? 

 

Thanks 

 

 

 

 

1 réponse
  1. 14 mai 2025, 15:36

    Hi, you can access this setting by clicking on the down arrow next to the Messaging Channel and clicking Edit. Then you can modify these settings. 

    Hi, you can access this setting by clicking on the down arrow next to the Messaging Channel and clicking Edit. Then you can modify these settings.