Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

To use the Social25

Multi Messenger in a Lightning Action you

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

with

The component should contain the following

content and filling in the default values of the attributes

:

Code Block
languagehtml
<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’

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’

Image Removed

Image Added

On this page:

Table of Contents
minLevel1
maxLevel7