Skip to main content

Configure Lightning for Outlook

Introduction

           Salesforce Lightning for outlook helps Salesforce users get more work done without switching between Outlook and Salesforce. The Salesforce users can perform apps specific actions more effectively. The Salesforce users can create Salesforce records using global actions—directly in their email applications.

Specifications

            As per Salesforce implementation guide, it works on outlook 2013 and 2016, but not specified about the version of Operating System. During our implementation, we absorbed that it works on windows 10 Operating System. It's required TLS 1.1 or higher version.

Present Features

·         Lightning for outlook will work on outlook web app and MS office outlook client
·         Can search for Salesforce records inside Outlook
·         Automatically sync contacts and calendar events between Outlook and Salesforce
·         Open Salesforce records in read mode inside Outlook
·         Using Email recipients we can create Salesforce Contacts records from outlook
·         Create new Salesforce records using global actions
·         Add email and attachments to Salesforce records
·         Add prebuilt custom components to email application pane
·         Assign different email application pane for each User
·         Once enable in Org level can be accessible for all users
Get Lightning for Outlook now from the Office Store.


Enable Lightning for Outlook

              To enable, go to setup à Quick find “Lighting for outlook” à Settings and enable lightning for outlook. Refer the below snapshot for more clarity.


Customize content with App Builder

                  We can customize the content of email application pane with App builder, we can add our custom prebuilt and standard lightning components for specific Salesforce User needs.

1.       From Setup, enter Lightning for Outlook in the Quick Find box, and select Settings. Click New under Email Application Panes.
2.       Select Email Application Panes (Beta).
3.       Click Next.
4.       Click Next to select the default layout for the email application pane.
5.       Give your pane a unique label, and click Finish.
6.       Drag components onto the pane.
7.       You can drag components up or down to rearrange their order.
8.       Click in the empty area of the canvas to view the page properties and add a description for your pane.
9.       Click Save.



Global Quick Action for Outlook

            Salesforce records can be created from outlook using global quick action. Currently, it supports only classic actions. In the future release, it might support Lightning actions. Refer below snapshot to configure quick actions for outlook.
  

Components for ‘Lightning for Outlook’

                Email Application Pane is highly customizable using Lightning App Builder.
1.       To add a custom component to email application panes in Outlook, implement the ‘clients:availableForMailAppAppPage’ interface.
2.       To allow the csutom component access to email or calendar events, implement the ‘clients:hasItemContext’ interface.
Once above interfaces are implemented, Outlook email’s SUBJECT, FROM, TO, CC and BCC addresses can be accessed.  We can implement our own business logic for specific Salesforce users.

Sample code

<aura:component implements="clients:availableForMailAppAppPage,clients:hasItemContext">
<!--
    Add these handlers to customize what happens when the attributes change
    <aura:handler name="change" value="{!v.subject}" action="{!c.handleSubjectChange}" />
    <aura:handler name="change" value="{!v.people}" action="{!c.handlePeopleChange}" />
-->
    <div id="content">
        <h1><b>Email subject</b></h1>
        <span id="subject">{!v.subject}</span>
        <h1>To:</h1>
        <aura:iteration items="{!v.people.to}" var="to">
            {!to.name} - {!to.email} <br/>
        </aura:iteration>
        <h1>From:</h1>
        {!v.people.from.name} - {!v.people.from.email}
        <h1>CC:</h1>
        <aura:iteration items="{!v.people.cc}" var="cc">
            {!cc.name} - {!cc.email} <br/>
        </aura:iteration>
        <span class="greeting">{!v.greeting}</span>, {!v.subject}
    </div>
</aura:component>



The above code show the result of email recipient’ SUBJECT, FROM and TO addresses.

Comments

Popular posts from this blog

Roll-up Summary from Child Accounts to Parent Account

Roll-up Summary from Child Accounts to Parent Account Standard Salesforce Roll-Up summary is work for Master Detail’s relationships such as Opportunity Amount to Account. But the Total Opportunity Amount will not roll-up to the parent accounts. So here I archive that through following to methods. There two methods Using Apex Trigger Using Flows and process builder Using Apex Triggers Salesforce Developers can code and archive this. Whenever the opportunity is created the amount is roll-up to account using standard Roll-Up Summary field. Step1:  Create Roll-up Summary custom field in Account field named as 'Total Opportunity Amount'. Total Opportunity Amount roll-ups to all accounts level. In our case we want to roll-up Total Opportunity amount to the parent accounts. Step2:  Create new custom currency field on account with read only accessibility. Step3:  Write a trigger on Account to calculate the Roll-up summary all child accounts of  Total Opp

Salesforce Certified Platform Developer I - Spring '16 Release Exam

Salesforce Certifications Release Exams I have cleared the Salesforce Certified Platform Developer I on winter 16 and I supposed clear the release exam for Spring 16. First attempt I had failed due two wrong answers out 5 questions. Time limit is 30 Mins. The second attempt I have cleared the exam. There are 3 attempt is limit. I got the following questions, What is the optimal way to verify a user before showing them sensitive content?    A.  Calling the Session.forcedLoginUrl method in apex. B.  Sending the user a SMS message with a passcode. C.  Sending the user an email message with a passcode. D.  Calling the generateVerificationUrl method in apex. What actions types should be configured to display a custom success message? A.  Post a feed item. B.  Close a case. C.  Update a record. D.  Delete a record. What are the supported content sources for custom buttons and links?   Choose 2 answers A.  Static Resource B.  Lightning Page C.  Chatter F