Posts

Showing posts from November, 2017

Google To Salesforce Integration

Image
This is going to walk you through the necessary steps to Integrate Google with Salesforce. Step 1: From the Salesforce setup page Make sure to enable Lightning Sync and choose your connection method: OAuth 2.0 for Google. Step 2: From your google cloud platform console Navigate to API Manager Step 3: Generate private Key For Service Account. Step 4:From your google admin console Navigate to Security / Advanced Settings  / Manage API Access When you are in , from the manage API clint access , you can add an entry to authorize your client. 1) In Client Name enter the Service Account Clint Id you previously copied at the end of step 2 2) In API Scopes , enter these URLs, separated by a coma : https://www.google.com/m8/feeds https://www.googleapis.com/auth/calendar.readonly https://www.googleapis.com/auth/contacts.readonly 3) Authorize your clint to access these APIs Step 5: you will have to import the JSON Key file you generated in step 3. S

Setting Up Gmail For Salesforce In Lightning

Image
This is going to walk you through the necessary steps to get your Gmail account synced up with Salesforce and install the chrome extension that allows you to log emails and events from Gmail into Salesforce. Step 1 : Navigate to  Setup . Step 2: In Setup go to" Send through external Email service " Then Enable " Send through Gmail " option. Step 3: In Setup go to  Email To Salesroce  Then check Active . Step 4 :Go to Enhanced Email Then  Enable it. Step 5:Go to Lightning for Gmail Then Enable " Enable Lightning for Gmail " and  " Enable Enhanced Email with Lightning for Gmail " Enable Enhanced Email with Lightning for Gmail Step 6: Click on PRODUCTION. Step 7 :Click On "Ädd Extention".

How To Make DataTable Column Resizable

Image
First, we will use the dummy table shared by the  Lightning Design System . We need to store the original width of the selected column to calculate the new width for which we have defined the oldWidth attribute to store the value. We also need the distance of the selected column width from the left of the screen to identify the start point from where user start to drag the column. We have used mouseStart attribute for the same. We have used two mouse events to identify when user start to drag and when user is dragging the column for adjusting the width. onmousedown  will be fired when user click on the column divider element and ondrag  will be fired when user is dragging th . Component : <aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId" access="global" >     <aura:attribute name="mouseStart" type="string" />     <aura:attribute name="