Use the multi-chat window in Salesforce Mobile

To use the Social25 multi-chat window on Salesforce Mobile, you can assign it to a Lightning Action and assign this to your mobile page layouts. In order to pass in the attributes that the chat window expects, you will need to create a Lightning Aura Component as explained in this article.

Lightning Aura Component

The component should contain the following:

<aura:component implements="force:lightningQuickAction,force:hasRecordId" > <aura:attribute name="personIdLookupFieldApiName" type="String" default="" /> <aura:attribute name="templateLanguageMappingFieldApiName" type="String" default="" /> <aura:attribute name="initiatePlatformFilterFieldApiName" type="String" default="" /> <Social25:Social25MultiMessenger recordId="{!v.recordId}" idFieldName="{!v.personIdLookupFieldApiName}" templateLanguageMappingFieldName="{!v.templateLanguageMappingFieldApiName}" initiatePlatformFilterFieldName="{!v.initiatePlatformFilterFieldApiName}" /> </aura:component>

Attributes

There are three attributes defined:

templateLanguageMappingFieldApiName

This is the same value as you would fill in on ‘Language Mapping Field Name’

templateLanguageMappingFieldApiName

This is the same value as you would fill in on ‘Language Mapping Field Name’

initiatePlatformFilterFieldApiName

This is the same value as you would fill in on ‘Initiate Platform Filter Field Name’

personIdLookupFieldApiName

This is the same value as you would fill in on ‘Person Id Field’

 

 

 

 

On this page: